Package de.xima.fc.mdl.auth
Class AuthenticationTargetFactory
java.lang.Object
de.xima.fc.mdl.auth.AuthenticationTargetFactory
Factory for
IAuthenticationTargets.- Since:
- 7.2.0
- Author:
- XIMA Media GmbH
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IAuthenticationTargetAuthentication results in a user in theHttpSessionstatic final IAuthenticationTargetAuthentication results in a user in theHttpSessionstatic final IAuthenticationTargetAuthentication results in a user in theFRQSession -
Method Summary
Modifier and TypeMethodDescriptionstatic IAuthenticationTargetforRequest(javax.servlet.http.HttpServletRequest req) Builds the authentication target from the request.static IAuthenticationTargetnewIdentityCheck(String identityCheckToken) Builds a new authentication target with keyidentity_checkand the given identity check token.static IAuthenticationTargetnewIdentityCheck(String identityCheckToken, String sessionId) Builds a new authentication target with keyidentity_check, the given identity check token and the given session ID.
-
Field Details
-
BACKEND
Authentication results in a user in theHttpSession -
FORM
Authentication results in a user in theFRQSession -
EXTERNAL
Authentication results in a user in theHttpSession
-
-
Method Details
-
newIdentityCheck
Builds a new authentication target with keyidentity_checkand the given identity check token.- Parameters:
identityCheckToken- token to use for identity check- Returns:
- built authentication target
-
newIdentityCheck
Builds a new authentication target with keyidentity_check, the given identity check token and the given session ID.- Parameters:
identityCheckToken- token to use for identity checksessionId- to use. Is important for identity checks that use frontend servers.- Returns:
- built authentication target
-
forRequest
Builds the authentication target from the request. This is only applicable for Requests to.../form/auth/loginand.../form/auth/callbackas this is the only place where authentication targets are necessary.- Parameters:
req- to build authentication target for- Returns:
- built authentication target
-