|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 localisation of messages. |
I18nBean |
getI18nBean(String additionalBundleName)
This method may be used to inject additional message bundles into the I18nHelper. |
I18nHelper |
getI18nHelper()
Useful for localisation of messages. |
I18nHelper |
getI18nHelper(String additionalBundle)
|
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<String,Object> |
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 static void clearRequestCache()
public static Map<String,Object> getRequestCache()
public User getUser()
JiraAuthenticationContext
getUser in interface JiraAuthenticationContextpublic Locale getLocale()
JiraAuthenticationContext
getLocale in interface JiraAuthenticationContextpublic OutlookDate getOutlookDate()
JiraAuthenticationContext
getOutlookDate in interface JiraAuthenticationContextOutlookDatepublic String getText(String key)
getText in interface JiraAuthenticationContextkey - the text key
public I18nHelper getI18nHelper()
JiraAuthenticationContext
getI18nHelper in interface JiraAuthenticationContextI18nHelperpublic I18nBean getI18nBean()
JiraAuthenticationContext
getI18nBean in interface JiraAuthenticationContextI18nHelperpublic I18nHelper getI18nHelper(String additionalBundle)
getI18nHelper in interface JiraAuthenticationContextpublic I18nBean getI18nBean(String additionalBundleName)
JiraAuthenticationContext
getI18nBean in interface JiraAuthenticationContextadditionalBundleName - name of a resource bundle
I18nHelper with additional message bundles.public void setUser(User user)
JiraAuthenticationContext
setUser in interface JiraAuthenticationContextuser - the currently logged in user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||