Package de.xima.fc.web.common.auth
Class FormAuthContextBuilder
java.lang.Object
de.xima.fc.web.common.auth.FormAuthContextBuilder
Builder for creating an
IFormAuthContext
- Author:
- XIMA MEDIA GmbH
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.servlet.http.HttpServletRequest
protected javax.servlet.http.HttpServletResponse
protected FRQSession
-
Constructor Summary
ConstructorsConstructorDescriptionFormAuthContextBuilder
(IExtendedFormRequestContext requestCtx) Constructor for creating the builder based on anIExtendedFormRequestContext
FormAuthContextBuilder
(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Constructor for creating the builder based on an servlet request -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds theIFormAuthContext
forceAuthType
(EAuthClientType type) withAuthenticatorToken
(String authenticatorToken) Deprecated.The authenticator token should be determined by the pac4j through the request.
-
Field Details
-
request
protected javax.servlet.http.HttpServletRequest request -
response
protected javax.servlet.http.HttpServletResponse response -
session
-
-
Constructor Details
-
FormAuthContextBuilder
Constructor for creating the builder based on anIExtendedFormRequestContext
- Parameters:
requestCtx
- theIExtendedFormRequestContext
-
FormAuthContextBuilder
public FormAuthContextBuilder(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) Constructor for creating the builder based on an servlet request- Parameters:
req
-HttpServletRequest
resp
-HttpServletResponse
-
-
Method Details
-
withAuthenticatorToken
Deprecated.The authenticator token should be determined by the pac4j through the request. -
forceAuthType
-
build
Builds theIFormAuthContext
- Returns:
IFormAuthContext
-