org.infoglue.cms.security
Class CombinedJNDIBasicAuthenticationModule

java.lang.Object
  extended by org.infoglue.cms.security.AuthenticationModule
      extended by org.infoglue.cms.security.JNDIBasicAuthenticationModule
          extended by org.infoglue.cms.security.CombinedJNDIBasicAuthenticationModule

public class CombinedJNDIBasicAuthenticationModule
extends JNDIBasicAuthenticationModule

Author:
Mattias Bogeblad This authentication module authenticates an user against the ordinary infoglue database.

Constructor Summary
CombinedJNDIBasicAuthenticationModule()
           
 
Method Summary
 java.lang.String authenticateUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain fc)
          This method handles all of the logic for checking how to handle a login.
 java.lang.String authenticateUser(java.util.Map request)
          This method handles all of the logic for checking how to handle a login.
static AuthenticationModule getFallbackAuthenticationModule(java.lang.Object transactionObject, java.lang.String successLoginUrl)
           
 java.lang.String getLoginDialogUrl(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method handles all of the logic for checking how to handle a login.
 java.security.Principal loginUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.util.Map status)
           
 boolean logoutUser(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class org.infoglue.cms.security.JNDIBasicAuthenticationModule
enforceJ2EEContainerPrincipal, getAuthenticatorClass, getAuthorizerClass, getCasAuthorizedProxy, getCasLogoutUrl, getCasRenew, getCasServiceUrl, getCasValidateUrl, getExtraProperties, getInvalidLoginUrl, getLoginUrl, getLogoutUrl, getServerName, getSuccessLoginUrl, getTransactionObject, setAuthenticatorClass, setAuthorizerClass, setCasAuthorizedProxy, setCasLogoutUrl, setCasRenew, setCasServiceUrl, setCasValidateUrl, setExtraProperties, setInvalidLoginUrl, setLoginUrl, setLogoutUrl, setServerName, setSuccessLoginUrl, setTransactionObject
 
Methods inherited from class org.infoglue.cms.security.AuthenticationModule
getAuthenticationModule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedJNDIBasicAuthenticationModule

public CombinedJNDIBasicAuthenticationModule()
Method Detail

getFallbackAuthenticationModule

public static AuthenticationModule getFallbackAuthenticationModule(java.lang.Object transactionObject,
                                                                   java.lang.String successLoginUrl)
                                                            throws SystemException
Throws:
SystemException

authenticateUser

public java.lang.String authenticateUser(javax.servlet.http.HttpServletRequest request,
                                         javax.servlet.http.HttpServletResponse response,
                                         javax.servlet.FilterChain fc)
                                  throws java.lang.Exception
This method handles all of the logic for checking how to handle a login.

Overrides:
authenticateUser in class JNDIBasicAuthenticationModule
Throws:
java.lang.Exception

authenticateUser

public java.lang.String authenticateUser(java.util.Map request)
                                  throws java.lang.Exception
This method handles all of the logic for checking how to handle a login.

Overrides:
authenticateUser in class JNDIBasicAuthenticationModule
Throws:
java.lang.Exception

getLoginDialogUrl

public java.lang.String getLoginDialogUrl(javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response)
                                   throws java.lang.Exception
This method handles all of the logic for checking how to handle a login.

Overrides:
getLoginDialogUrl in class JNDIBasicAuthenticationModule
Throws:
java.lang.Exception

loginUser

public java.security.Principal loginUser(javax.servlet.http.HttpServletRequest request,
                                         javax.servlet.http.HttpServletResponse response,
                                         java.util.Map status)
                                  throws java.lang.Exception
Overrides:
loginUser in class JNDIBasicAuthenticationModule
Throws:
java.lang.Exception

logoutUser

public boolean logoutUser(javax.servlet.http.HttpServletRequest request,
                          javax.servlet.http.HttpServletResponse response)
                   throws java.lang.Exception
Overrides:
logoutUser in class JNDIBasicAuthenticationModule
Throws:
java.lang.Exception


Copyright © 2005 InfoGlue.org All Rights Reserved.