Package com.microstrategy.web.app.tasks
Class AuthenticationHelper
- java.lang.Object
 - 
- com.microstrategy.web.tasks.BaseAuthenticationHelper
 - 
- com.microstrategy.web.app.tasks.AuthenticationHelper
 
 
 
- 
public class AuthenticationHelper extends BaseAuthenticationHelper
 
- 
- 
Constructor Summary
Constructors Constructor Description AuthenticationHelper() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidconfigureLocalesFromRequest(WebIServerSession activeSession, ContainerServices cnts, RequestKeys rk)static booleanisLoginFailureCode(int webAPIErrorCode)Defines if a list of Web API Error code returned by IServer is some kind of login failure DE127390 - Redirect on Login Failure NOTE: Needs to be updated as authentication modes are addedstatic voidsetup(int authMode, WebIServerSession session, AppContext appContext)static voidsetupIntegrated(WebIServerSession session, AppContext appContext)Configures the givenWebIServerSessionforEnumDSSXMLAuthModes.DssXmlAuthIntegratedby extracting relevant parameters fromAppContext.static voidsetupNativeOidc(WebIServerSession session, AppContext appContext)static voidsetupToken(WebIServerSession session, AppContext appContext)Setup tokenstatic voidsetupTrustInformation(WebIServerSession session, AppContext appContext)Set session properties from headers and token for trusted authentication- 
Methods inherited from class com.microstrategy.web.tasks.BaseAuthenticationHelper
getEncodeFormat, getGroupsXML, getGroupsXML, getGroupsXML, getHeaderValue, getLDAPDistinguishedName, getSecurityPluginProperties, getSecurityPluginProperties, setupTrustInformation 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setup
public static void setup(int authMode, WebIServerSession session, AppContext appContext) throws TaskInternalException- Throws:
 TaskInternalException
 
- 
setupNativeOidc
public static void setupNativeOidc(WebIServerSession session, AppContext appContext) throws TaskInternalException
- Throws:
 TaskInternalException
 
- 
setupTrustInformation
public static void setupTrustInformation(WebIServerSession session, AppContext appContext)
Set session properties from headers and token for trusted authentication- Parameters:
 session-WebIServerSessionappContext-AppContext
 
- 
setupToken
public static void setupToken(WebIServerSession session, AppContext appContext)
Setup token- Parameters:
 session-WebIServerSessionappContext-AppContext
 
- 
setupIntegrated
public static void setupIntegrated(WebIServerSession session, AppContext appContext)
Configures the givenWebIServerSessionforEnumDSSXMLAuthModes.DssXmlAuthIntegratedby extracting relevant parameters fromAppContext.- Parameters:
 session-WebIServerSessionto configureappContext-AppContextconfiguration parameters
 
- 
configureLocalesFromRequest
public static void configureLocalesFromRequest(WebIServerSession activeSession, ContainerServices cnts, RequestKeys rk)
 
- 
isLoginFailureCode
public static boolean isLoginFailureCode(int webAPIErrorCode)
Defines if a list of Web API Error code returned by IServer is some kind of login failure DE127390 - Redirect on Login Failure NOTE: Needs to be updated as authentication modes are added- Parameters:
 webAPIErrorCode-- Returns:
 - boolean
 
 
 - 
 
 -