org.infoglue.cms.security
Class JNDIBasicAuthenticationModule
java.lang.Object
org.infoglue.cms.security.AuthenticationModule
org.infoglue.cms.security.JNDIBasicAuthenticationModule
- Direct Known Subclasses:
- CombinedJNDIBasicAuthenticationModule
public class JNDIBasicAuthenticationModule
- extends AuthenticationModule
- Author:
- Mattias Bogeblad
This authentication module authenticates an user against the ordinary infoglue database.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JNDIBasicAuthenticationModule
public JNDIBasicAuthenticationModule()
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.
- Specified by:
authenticateUser in class AuthenticationModule
- 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.
- Specified by:
authenticateUser in class AuthenticationModule
- 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.
- Specified by:
getLoginDialogUrl in class AuthenticationModule
- 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
- Specified by:
loginUser in class AuthenticationModule
- Throws:
java.lang.Exception
logoutUser
public boolean logoutUser(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
- Specified by:
logoutUser in class AuthenticationModule
- Throws:
java.lang.Exception
getAuthenticatorClass
public java.lang.String getAuthenticatorClass()
- Specified by:
getAuthenticatorClass in class AuthenticationModule
setAuthenticatorClass
public void setAuthenticatorClass(java.lang.String authenticatorClass)
- Specified by:
setAuthenticatorClass in class AuthenticationModule
getAuthorizerClass
public java.lang.String getAuthorizerClass()
- Specified by:
getAuthorizerClass in class AuthenticationModule
setAuthorizerClass
public void setAuthorizerClass(java.lang.String authorizerClass)
- Specified by:
setAuthorizerClass in class AuthenticationModule
getInvalidLoginUrl
public java.lang.String getInvalidLoginUrl()
- Specified by:
getInvalidLoginUrl in class AuthenticationModule
setInvalidLoginUrl
public void setInvalidLoginUrl(java.lang.String invalidLoginUrl)
- Specified by:
setInvalidLoginUrl in class AuthenticationModule
getLoginUrl
public java.lang.String getLoginUrl()
- Specified by:
getLoginUrl in class AuthenticationModule
setLoginUrl
public void setLoginUrl(java.lang.String loginUrl)
- Specified by:
setLoginUrl in class AuthenticationModule
getLogoutUrl
public java.lang.String getLogoutUrl()
- Specified by:
getLogoutUrl in class AuthenticationModule
setLogoutUrl
public void setLogoutUrl(java.lang.String logoutUrl)
- Specified by:
setLogoutUrl in class AuthenticationModule
getSuccessLoginUrl
public java.lang.String getSuccessLoginUrl()
- Specified by:
getSuccessLoginUrl in class AuthenticationModule
setSuccessLoginUrl
public void setSuccessLoginUrl(java.lang.String successLoginUrl)
- Specified by:
setSuccessLoginUrl in class AuthenticationModule
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName in class AuthenticationModule
setServerName
public void setServerName(java.lang.String serverName)
- Specified by:
setServerName in class AuthenticationModule
getExtraProperties
public java.util.Properties getExtraProperties()
- Specified by:
getExtraProperties in class AuthenticationModule
setExtraProperties
public void setExtraProperties(java.util.Properties extraProperties)
- Specified by:
setExtraProperties in class AuthenticationModule
getCasRenew
public java.lang.String getCasRenew()
- Specified by:
getCasRenew in class AuthenticationModule
setCasRenew
public void setCasRenew(java.lang.String casRenew)
- Specified by:
setCasRenew in class AuthenticationModule
getCasServiceUrl
public java.lang.String getCasServiceUrl()
- Specified by:
getCasServiceUrl in class AuthenticationModule
setCasServiceUrl
public void setCasServiceUrl(java.lang.String casServiceUrl)
- Specified by:
setCasServiceUrl in class AuthenticationModule
getCasValidateUrl
public java.lang.String getCasValidateUrl()
- Specified by:
getCasValidateUrl in class AuthenticationModule
setCasValidateUrl
public void setCasValidateUrl(java.lang.String casValidateUrl)
- Specified by:
setCasValidateUrl in class AuthenticationModule
getCasAuthorizedProxy
public java.lang.String getCasAuthorizedProxy()
- Specified by:
getCasAuthorizedProxy in class AuthenticationModule
setCasAuthorizedProxy
public void setCasAuthorizedProxy(java.lang.String casAuthorizedProxy)
- Specified by:
setCasAuthorizedProxy in class AuthenticationModule
getTransactionObject
public java.lang.Object getTransactionObject()
- Specified by:
getTransactionObject in class AuthenticationModule
setTransactionObject
public void setTransactionObject(java.lang.Object transactionObject)
- Specified by:
setTransactionObject in class AuthenticationModule
getCasLogoutUrl
public java.lang.String getCasLogoutUrl()
- Specified by:
getCasLogoutUrl in class AuthenticationModule
setCasLogoutUrl
public void setCasLogoutUrl(java.lang.String casLogoutUrl)
- Specified by:
setCasLogoutUrl in class AuthenticationModule
enforceJ2EEContainerPrincipal
public boolean enforceJ2EEContainerPrincipal()
- Specified by:
enforceJ2EEContainerPrincipal in class AuthenticationModule
Copyright © 2005 InfoGlue.org All Rights Reserved.