com.atlassian.jira.security
Class JiraAuthenticationContextImpl

java.lang.Object
  extended bycom.atlassian.jira.security.JiraAuthenticationContextImpl
All Implemented Interfaces:
JiraAuthenticationContext

public class JiraAuthenticationContextImpl
extends java.lang.Object
implements JiraAuthenticationContext


Constructor Summary
JiraAuthenticationContextImpl(com.atlassian.seraph.auth.AuthenticationContext authenticationContext, com.atlassian.core.util.LocaleUtils localeUtils, ApplicationProperties applicationProperties, OutlookDateManager outlookDateManager)
           
 
Method Summary
static void clearRequestCache()
           
 I18nBean getI18nBean()
           
 java.util.Locale getLocale()
           
 OutlookDate getOutlookDate()
           
static java.util.Map getRequestCache()
           
 java.lang.String getText(java.lang.String key)
           
 com.opensymphony.user.User getUser()
           
 void setUser(com.opensymphony.user.User user)
          This comes to use in places like Jelly where we need to switch the identity of a user during execution.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraAuthenticationContextImpl

public JiraAuthenticationContextImpl(com.atlassian.seraph.auth.AuthenticationContext authenticationContext,
                                     com.atlassian.core.util.LocaleUtils localeUtils,
                                     ApplicationProperties applicationProperties,
                                     OutlookDateManager outlookDateManager)
Method Detail

getUser

public com.opensymphony.user.User getUser()
Specified by:
getUser in interface JiraAuthenticationContext

getLocale

public java.util.Locale getLocale()
Specified by:
getLocale in interface JiraAuthenticationContext

getOutlookDate

public OutlookDate getOutlookDate()
Specified by:
getOutlookDate in interface JiraAuthenticationContext

clearRequestCache

public static void clearRequestCache()

getRequestCache

public static java.util.Map getRequestCache()

getText

public java.lang.String getText(java.lang.String key)
Specified by:
getText in interface JiraAuthenticationContext

getI18nBean

public I18nBean getI18nBean()
Specified by:
getI18nBean in interface JiraAuthenticationContext

setUser

public void setUser(com.opensymphony.user.User user)
Description copied from interface: JiraAuthenticationContext
This comes to use in places like Jelly where we need to switch the identity of a user during execution.

Specified by:
setUser in interface JiraAuthenticationContext
Parameters:
user -


Copyright © 2002-2005 Atlassian. All Rights Reserved.