org.infoglue.cms.security
Class InfoGlueBasicAuthenticationModule

java.lang.Object
  |
  +--org.infoglue.cms.security.InfoGlueBasicAuthenticationModule
All Implemented Interfaces:
AuthenticationModule

public class InfoGlueBasicAuthenticationModule
extends java.lang.Object
implements AuthenticationModule

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

Constructor Summary
InfoGlueBasicAuthenticationModule()
           
 
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.
 java.lang.String getAuthenticatorClass()
           
 java.lang.String getAuthorizerClass()
           
 java.lang.String getCasAuthorizedProxy()
           
 java.lang.String getCasRenew()
           
 java.lang.String getCasServiceUrl()
           
 java.lang.String getCasValidateUrl()
           
 java.util.Properties getExtraProperties()
           
 java.lang.String getInvalidLoginUrl()
           
 java.lang.String getLoginUrl()
           
 java.lang.String getServerName()
           
 java.lang.String getSuccessLoginUrl()
           
 java.lang.Object getTransactionObject()
           
 void setAuthenticatorClass(java.lang.String authenticatorClass)
           
 void setAuthorizerClass(java.lang.String authorizerClass)
           
 void setCasAuthorizedProxy(java.lang.String casAuthorizedProxy)
           
 void setCasRenew(java.lang.String casRenew)
           
 void setCasServiceUrl(java.lang.String casServiceUrl)
           
 void setCasValidateUrl(java.lang.String casValidateUrl)
           
 void setExtraProperties(java.util.Properties extraProperties)
           
 void setInvalidLoginUrl(java.lang.String invalidLoginUrl)
           
 void setLoginUrl(java.lang.String loginUrl)
           
 void setServerName(java.lang.String serverName)
           
 void setSuccessLoginUrl(java.lang.String successLoginUrl)
           
 void setTransactionObject(java.lang.Object transactionObject)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoGlueBasicAuthenticationModule

public InfoGlueBasicAuthenticationModule()
Method Detail

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 interface AuthenticationModule
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 interface AuthenticationModule
java.lang.Exception

getAuthenticatorClass

public java.lang.String getAuthenticatorClass()
Specified by:
getAuthenticatorClass in interface AuthenticationModule

setAuthenticatorClass

public void setAuthenticatorClass(java.lang.String authenticatorClass)
Specified by:
setAuthenticatorClass in interface AuthenticationModule

getAuthorizerClass

public java.lang.String getAuthorizerClass()
Specified by:
getAuthorizerClass in interface AuthenticationModule

setAuthorizerClass

public void setAuthorizerClass(java.lang.String authorizerClass)
Specified by:
setAuthorizerClass in interface AuthenticationModule

getInvalidLoginUrl

public java.lang.String getInvalidLoginUrl()
Specified by:
getInvalidLoginUrl in interface AuthenticationModule

setInvalidLoginUrl

public void setInvalidLoginUrl(java.lang.String invalidLoginUrl)
Specified by:
setInvalidLoginUrl in interface AuthenticationModule

getLoginUrl

public java.lang.String getLoginUrl()
Specified by:
getLoginUrl in interface AuthenticationModule

setLoginUrl

public void setLoginUrl(java.lang.String loginUrl)
Specified by:
setLoginUrl in interface AuthenticationModule

getSuccessLoginUrl

public java.lang.String getSuccessLoginUrl()

setSuccessLoginUrl

public void setSuccessLoginUrl(java.lang.String successLoginUrl)

getServerName

public java.lang.String getServerName()
Specified by:
getServerName in interface AuthenticationModule

setServerName

public void setServerName(java.lang.String serverName)
Specified by:
setServerName in interface AuthenticationModule

getExtraProperties

public java.util.Properties getExtraProperties()
Specified by:
getExtraProperties in interface AuthenticationModule

setExtraProperties

public void setExtraProperties(java.util.Properties extraProperties)
Specified by:
setExtraProperties in interface AuthenticationModule

getCasRenew

public java.lang.String getCasRenew()
Specified by:
getCasRenew in interface AuthenticationModule

setCasRenew

public void setCasRenew(java.lang.String casRenew)
Specified by:
setCasRenew in interface AuthenticationModule

getCasServiceUrl

public java.lang.String getCasServiceUrl()
Specified by:
getCasServiceUrl in interface AuthenticationModule

setCasServiceUrl

public void setCasServiceUrl(java.lang.String casServiceUrl)
Specified by:
setCasServiceUrl in interface AuthenticationModule

getCasValidateUrl

public java.lang.String getCasValidateUrl()
Specified by:
getCasValidateUrl in interface AuthenticationModule

setCasValidateUrl

public void setCasValidateUrl(java.lang.String casValidateUrl)
Specified by:
setCasValidateUrl in interface AuthenticationModule

getCasAuthorizedProxy

public java.lang.String getCasAuthorizedProxy()
Specified by:
getCasAuthorizedProxy in interface AuthenticationModule

setCasAuthorizedProxy

public void setCasAuthorizedProxy(java.lang.String casAuthorizedProxy)
Specified by:
setCasAuthorizedProxy in interface AuthenticationModule

getTransactionObject

public java.lang.Object getTransactionObject()
Specified by:
getTransactionObject in interface AuthenticationModule

setTransactionObject

public void setTransactionObject(java.lang.Object transactionObject)
Specified by:
setTransactionObject in interface AuthenticationModule