|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JiraAuthenticationContext
The JiraAuthenticationContext is used for tracking a user's session in JIRA and all it's custom parameters, such as Locale and I18n.
Method Summary | |
---|---|
I18nHelper |
getI18nBean()
Deprecated. Use getI18nHelper() instead. Deprecated since v4.0 |
I18nHelper |
getI18nHelper()
Useful for localisation of messages. |
Locale |
getLocale()
Get the users locale. |
com.atlassian.crowd.embedded.api.User |
getLoggedInUser()
Returns the currently logged in User. |
OutlookDate |
getOutlookDate()
Deprecated. Use DateTimeFormatter instead. Since v5.0. |
String |
getText(String key)
Deprecated. Use getText() method on getI18nHelper() . |
com.atlassian.crowd.embedded.api.User |
getUser()
Deprecated. use getLoggedInUser() . Since v4.3 |
void |
setLoggedInUser(com.atlassian.crowd.embedded.api.User user)
This comes to use in places like Jelly where we need to switch the identity of a user during execution. |
Method Detail |
---|
com.atlassian.crowd.embedded.api.User getUser()
getLoggedInUser()
. Since v4.3
com.atlassian.crowd.embedded.api.User getLoggedInUser()
Locale getLocale()
@Deprecated OutlookDate getOutlookDate()
DateTimeFormatter
instead. Since v5.0.
OutlookDate
@Deprecated String getText(String key)
getI18nHelper()
.
key
- the text key
I18nHelper getI18nHelper()
I18nHelper
@Deprecated I18nHelper getI18nBean()
getI18nHelper()
instead. Deprecated since v4.0
I18nHelper
void setLoggedInUser(com.atlassian.crowd.embedded.api.User user)
user
- the currently logged in user
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |