org.apache.geronimo.security.realm.providers
Class GenericHttpHeaderLoginmodule

java.lang.Object
  extended by org.apache.geronimo.security.realm.providers.GenericHttpHeaderLoginmodule
Direct Known Subclasses:
GenericHttpHeaderLdapLoginModule, GenericHttpHeaderPropertiesFileLoginModule, GenericHttpHeaderSqlLoginmodule

public abstract class GenericHttpHeaderLoginmodule
extends Object


Field Summary
protected  Set<Principal> allPrincipals
           
protected  String authenticationAuthority
           
protected  CallbackHandler callbackHandler
           
protected  Set<String> groups
           
protected  String headerNames
           
protected  javax.servlet.http.HttpServletRequest httpRequest
           
protected  boolean loginSucceeded
           
protected  Subject subject
           
protected  String username
           
 
Constructor Summary
GenericHttpHeaderLoginmodule()
           
 
Method Summary
 void abortHelper()
           
protected  void commitHelper()
           
 void logoutHelper()
           
 Map<String,String> matchHeaders(javax.servlet.http.HttpServletRequest request, String[] headers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

subject

protected Subject subject

username

protected String username

headerNames

protected String headerNames

authenticationAuthority

protected String authenticationAuthority

callbackHandler

protected CallbackHandler callbackHandler

loginSucceeded

protected boolean loginSucceeded

httpRequest

protected javax.servlet.http.HttpServletRequest httpRequest

allPrincipals

protected Set<Principal> allPrincipals

groups

protected Set<String> groups
Constructor Detail

GenericHttpHeaderLoginmodule

public GenericHttpHeaderLoginmodule()
Method Detail

commitHelper

protected void commitHelper()

abortHelper

public void abortHelper()

logoutHelper

public void logoutHelper()

matchHeaders

public Map<String,String> matchHeaders(javax.servlet.http.HttpServletRequest request,
                                       String[] headers)
                                throws HeaderMismatchException
Throws:
HeaderMismatchException


Copyright © 2003-2011 The Apache Geronimo development community. All Rights Reserved.