|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.security.JiraAuthenticationContextImpl
public class JiraAuthenticationContextImpl
Constructor Summary | |
---|---|
JiraAuthenticationContextImpl(com.atlassian.seraph.auth.AuthenticationContext authenticationContext,
OutlookDateManager outlookDateManager)
|
Method Summary | |
---|---|
static void |
clearRequestCache()
|
I18nBean |
getI18nBean()
Useful for I18n |
I18nBean |
getI18nBean(String additionalBundle)
This method may be used to inject additional messagebundles into the I18nBean. |
Locale |
getLocale()
Get the users locale. |
OutlookDate |
getOutlookDate()
Method used to get a nice representation of a date using a user's locale. |
static Map |
getRequestCache()
|
String |
getText(String key)
|
User |
getUser()
Returns the currently logged in User. |
void |
setUser(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 |
---|
public JiraAuthenticationContextImpl(com.atlassian.seraph.auth.AuthenticationContext authenticationContext, OutlookDateManager outlookDateManager)
Method Detail |
---|
public User getUser()
JiraAuthenticationContext
getUser
in interface JiraAuthenticationContext
public Locale getLocale()
JiraAuthenticationContext
getLocale
in interface JiraAuthenticationContext
public OutlookDate getOutlookDate()
JiraAuthenticationContext
getOutlookDate
in interface JiraAuthenticationContext
OutlookDate
public static void clearRequestCache()
public static Map getRequestCache()
public String getText(String key)
getText
in interface JiraAuthenticationContext
public I18nBean getI18nBean()
JiraAuthenticationContext
getI18nBean
in interface JiraAuthenticationContext
I18nBean
public I18nBean getI18nBean(String additionalBundle)
JiraAuthenticationContext
getI18nBean
in interface JiraAuthenticationContext
I18nBean
with additional message bundles.public void setUser(User user)
JiraAuthenticationContext
setUser
in interface JiraAuthenticationContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |