Package de.xima.fc.web.common.auth
Class FormAuthContextBuilder
- java.lang.Object
-
- de.xima.fc.web.common.auth.FormAuthContextBuilder
-
public class FormAuthContextBuilder extends Object
Builder for creating anIFormAuthContext
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.servlet.http.HttpServletRequest
request
protected javax.servlet.http.HttpServletResponse
response
protected FRQSession
session
-
Constructor Summary
Constructors Constructor Description FormAuthContextBuilder(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFormAuthContext
build()
Builds theIFormAuthContext
FormAuthContextBuilder
forceAuthType(EAuthClientType type)
FormAuthContextBuilder
withAuthenticatorToken(String authenticatorToken)
-
-
-
Field Detail
-
request
protected javax.servlet.http.HttpServletRequest request
-
response
protected javax.servlet.http.HttpServletResponse response
-
session
protected FRQSession session
-
-
Constructor Detail
-
FormAuthContextBuilder
public FormAuthContextBuilder(IExtendedFormRequestContext requestCtx)
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 Detail
-
withAuthenticatorToken
public FormAuthContextBuilder withAuthenticatorToken(String authenticatorToken)
-
forceAuthType
public FormAuthContextBuilder forceAuthType(EAuthClientType type)
-
build
public IFormAuthContext build()
Builds theIFormAuthContext
- Returns:
IFormAuthContext
-
-