com.atlassian.jira.mock.security
Class MockAuthenticationContext

java.lang.Object
  extended by com.atlassian.jira.security.JiraAuthenticationContextImpl
      extended by com.atlassian.jira.mock.security.MockAuthenticationContext
All Implemented Interfaces:
JiraAuthenticationContext

public class MockAuthenticationContext
extends JiraAuthenticationContextImpl


Constructor Summary
MockAuthenticationContext(com.atlassian.crowd.embedded.api.User user)
           
MockAuthenticationContext(com.atlassian.crowd.embedded.api.User user, OutlookDateManager mgr)
           
MockAuthenticationContext(com.atlassian.crowd.embedded.api.User user, OutlookDateManager mgr, I18nHelper i18nHelper)
           
 
Method Summary
 I18nHelper getI18nBean()
          Useful for localisation of messages.
 I18nHelper getI18nHelper()
          Useful for localisation of messages.
 
Methods inherited from class com.atlassian.jira.security.JiraAuthenticationContextImpl
clearRequestCache, getLocale, getLoggedInUser, getOutlookDate, getRequestCache, getText, getUser, setLoggedInUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockAuthenticationContext

public MockAuthenticationContext(com.atlassian.crowd.embedded.api.User user)

MockAuthenticationContext

public MockAuthenticationContext(com.atlassian.crowd.embedded.api.User user,
                                 OutlookDateManager mgr)

MockAuthenticationContext

public MockAuthenticationContext(com.atlassian.crowd.embedded.api.User user,
                                 OutlookDateManager mgr,
                                 I18nHelper i18nHelper)
Method Detail

getI18nHelper

public I18nHelper getI18nHelper()
Description copied from interface: JiraAuthenticationContext
Useful for localisation of messages.

Specified by:
getI18nHelper in interface JiraAuthenticationContext
Overrides:
getI18nHelper in class JiraAuthenticationContextImpl
Returns:
An instance of I18nHelper

getI18nBean

public I18nHelper getI18nBean()
Description copied from interface: JiraAuthenticationContext
Useful for localisation of messages.

Specified by:
getI18nBean in interface JiraAuthenticationContext
Overrides:
getI18nBean in class JiraAuthenticationContextImpl
Returns:
An instance of I18nHelper


Copyright © 2002-2012 Atlassian. All Rights Reserved.