org.infoglue.cms.security
Class CombinedJNDIBasicAuthenticationModule
java.lang.Object
org.infoglue.cms.security.AuthenticationModule
org.infoglue.cms.security.JNDIBasicAuthenticationModule
org.infoglue.cms.security.CombinedJNDIBasicAuthenticationModule
public class CombinedJNDIBasicAuthenticationModule
- extends JNDIBasicAuthenticationModule
- Author:
- Mattias Bogeblad
This authentication module authenticates an user against the ordinary infoglue database.
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CombinedJNDIBasicAuthenticationModule
public CombinedJNDIBasicAuthenticationModule()
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.