pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.accesscontrol.authentication
Class AuthenticationConfig

java.lang.Object
  extended by org.torweg.pulse.configuration.AbstractConfigBean
      extended by org.torweg.pulse.accesscontrol.authentication.AuthenticationConfig
All Implemented Interfaces:
java.io.Serializable, ConfigBean

public class AuthenticationConfig
extends AbstractConfigBean

The configuration of the Authentication.

Version:
$Revision: 1380 $
Author:
Christian Schatt
See Also:
Serialized Form

Constructor Summary
AuthenticationConfig()
           
 
Method Summary
protected  java.util.Map<java.lang.Integer,java.lang.String> getErrorCodes()
          Returns the error-codes provided by the Authentication.
protected  java.util.Set<java.lang.String> getLoginModes()
          Returns the login-modes provided by the Authentication.
protected  java.util.Map<java.lang.String,java.lang.String> getParameterMappings()
          Returns the name-mappings for the httpParameters provided by the Authentication.
 java.util.Collection<java.lang.Class<ISingleSignOnTask>> getSingleSignOnTasks()
          returns an unmodifiable collection of all ISingleSignOnTasks configured.
 void init(org.jdom.Element conf)
          Initializes the configuration of the Authentication.
 boolean isRedirectToHompageAction(java.lang.String actionName)
          checks if the passed action-name is a redirect-to-homepage-action.
protected  boolean isSingleSignOn()
          indicates whether single-sign-on is activated.
 
Methods inherited from class org.torweg.pulse.configuration.AbstractConfigBean
buildClass, buildInstance, lastModified, setLastModified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationConfig

public AuthenticationConfig()
Method Detail

isRedirectToHompageAction

public final boolean isRedirectToHompageAction(java.lang.String actionName)
checks if the passed action-name is a redirect-to-homepage-action.

Parameters:
actionName - the name to check
Returns:
true if the passed actionName is a redirect-to-homepage-action, false otherwise

init

public final void init(org.jdom.Element conf)
Initializes the configuration of the Authentication.

Parameters:
conf - The JDOM-Element containing the configuration of the Authentication.
See Also:
ConfigBean.init(org.jdom.Element)

getParameterMappings

protected final java.util.Map<java.lang.String,java.lang.String> getParameterMappings()
Returns the name-mappings for the httpParameters provided by the Authentication.

Returns:
the name-mappings for the httpParameters provided by the Authentication

getLoginModes

protected final java.util.Set<java.lang.String> getLoginModes()
Returns the login-modes provided by the Authentication.

Returns:
the login-modes provided by the Authentication

getErrorCodes

protected final java.util.Map<java.lang.Integer,java.lang.String> getErrorCodes()
Returns the error-codes provided by the Authentication.

Returns:
the error-codes provided by the Authentication

isSingleSignOn

protected final boolean isSingleSignOn()
indicates whether single-sign-on is activated.

Returns:
true, if the authentication is configured for single-sign-on. Otherwise false.

getSingleSignOnTasks

public final java.util.Collection<java.lang.Class<ISingleSignOnTask>> getSingleSignOnTasks()
returns an unmodifiable collection of all ISingleSignOnTasks configured.

Returns:
an unmodifiable view of all ISingleSignOnTasks