Package de.xima.fc.mdl.auth
Class AuthenticationTargetFactory
java.lang.Object
de.xima.fc.mdl.auth.AuthenticationTargetFactory
Factory for
IAuthenticationTarget
s.- Since:
- 7.2.0
- Author:
- XIMA Media GmbH
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final IAuthenticationTarget
Authentication results in a user in theHttpSession
static final IAuthenticationTarget
Authentication results in a user in theHttpSession
static final IAuthenticationTarget
Authentication results in a user in theFRQSession
-
Method Summary
Modifier and TypeMethodDescriptionstatic IAuthenticationTarget
forRequest
(javax.servlet.http.HttpServletRequest req) Builds the authentication target from the request.static IAuthenticationTarget
newIdentityCheck
(String identityCheckToken) Builds a new authentication target with keyidentity_check
and the given identity check token.static IAuthenticationTarget
newIdentityCheck
(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_check
and 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/login
and.../form/auth/callback
as this is the only place where authentication targets are necessary.- Parameters:
req
- to build authentication target for- Returns:
- built authentication target
-