Errai 3.0.1-SNAPSHOT

org.jboss.errai.security.server
Class FormAuthenticationScheme

java.lang.Object
  extended by org.jboss.errai.security.server.FormAuthenticationScheme
All Implemented Interfaces:
org.picketlink.authentication.web.HTTPAuthenticationScheme

@Dependent
public class FormAuthenticationScheme
extends Object
implements org.picketlink.authentication.web.HTTPAuthenticationScheme


Field Summary
static String HOST_PAGE_INIT_PARAM
           
static String HTTP_FORM_PASSWORD_PARAM
           
static String HTTP_FORM_SECURITY_CHECK_URI
           
static String HTTP_FORM_USERNAME_PARAM
           
static String LOGIN_ERROR_QUERY_PARAM
           
static String LOGIN_PAGE_INIT_PARAM
           
 
Constructor Summary
FormAuthenticationScheme()
           
 
Method Summary
 void challengeClient(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void extractCredential(javax.servlet.http.HttpServletRequest request, org.picketlink.credential.DefaultLoginCredentials creds)
           
 void initialize(javax.servlet.FilterConfig filterConfig)
           
 boolean isProtected(javax.servlet.http.HttpServletRequest request)
           
 boolean postAuthentication(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOST_PAGE_INIT_PARAM

public static final String HOST_PAGE_INIT_PARAM
See Also:
Constant Field Values

LOGIN_PAGE_INIT_PARAM

public static final String LOGIN_PAGE_INIT_PARAM
See Also:
Constant Field Values

LOGIN_ERROR_QUERY_PARAM

public static final String LOGIN_ERROR_QUERY_PARAM
See Also:
Constant Field Values

HTTP_FORM_SECURITY_CHECK_URI

public static final String HTTP_FORM_SECURITY_CHECK_URI
See Also:
Constant Field Values

HTTP_FORM_USERNAME_PARAM

public static final String HTTP_FORM_USERNAME_PARAM
See Also:
Constant Field Values

HTTP_FORM_PASSWORD_PARAM

public static final String HTTP_FORM_PASSWORD_PARAM
See Also:
Constant Field Values
Constructor Detail

FormAuthenticationScheme

public FormAuthenticationScheme()
Method Detail

initialize

public void initialize(javax.servlet.FilterConfig filterConfig)
Specified by:
initialize in interface org.picketlink.authentication.web.HTTPAuthenticationScheme

extractCredential

public void extractCredential(javax.servlet.http.HttpServletRequest request,
                              org.picketlink.credential.DefaultLoginCredentials creds)
Specified by:
extractCredential in interface org.picketlink.authentication.web.HTTPAuthenticationScheme

challengeClient

public void challengeClient(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws IOException
Specified by:
challengeClient in interface org.picketlink.authentication.web.HTTPAuthenticationScheme
Throws:
IOException

postAuthentication

public boolean postAuthentication(javax.servlet.http.HttpServletRequest request,
                                  javax.servlet.http.HttpServletResponse response)
                           throws IOException
Specified by:
postAuthentication in interface org.picketlink.authentication.web.HTTPAuthenticationScheme
Throws:
IOException

isProtected

public boolean isProtected(javax.servlet.http.HttpServletRequest request)
Specified by:
isProtected in interface org.picketlink.authentication.web.HTTPAuthenticationScheme

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.