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.HttpServletRequestprotected javax.servlet.http.HttpServletResponseprotected FRQSession - 
Constructor Summary
ConstructorsConstructorDescriptionFormAuthContextBuilder(IExtendedFormRequestContext requestCtx) Constructor for creating the builder based on anIExtendedFormRequestContextFormAuthContextBuilder(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 theIFormAuthContextforceAuthType(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-HttpServletRequestresp-HttpServletResponse
 
 - 
 - 
Method Details
- 
withAuthenticatorToken
Deprecated.The authenticator token should be determined by the pac4j through the request. - 
forceAuthType
 - 
build
Builds theIFormAuthContext- Returns:
 IFormAuthContext
 
 -