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 AuthenticationResult

java.lang.Object
  extended by org.torweg.pulse.accesscontrol.authentication.AuthenticationResult
All Implemented Interfaces:
JDOMable, Result

public class AuthenticationResult
extends java.lang.Object
implements Result

The Result of the Authentication.

Version:
$Revision: 1380 $
Author:
Christian Schatt

Constructor Summary
AuthenticationResult()
           
 
Method Summary
 org.jdom.Element deserializeToJDOM()
          Serializes the state of this AuthenticationResult as a JDOM Element.
protected  void setError(java.lang.Integer newErrorCode, java.lang.String newErrorDescription)
          Sets the error-code and the error-description of this AuthenticationResult.
protected  void setLoginModes(java.util.Set<java.lang.String> newLoginModes)
          Sets the login-modes of this AuthenticationResult.
protected  void setLoginStatus(boolean newLoginStatus)
          Sets the login-status of this AuthenticationResult.
protected  void setParameterMappings(java.util.Map<java.lang.String,java.lang.String> newParameterMappings)
          Sets the name-mappings for the httpParameters of this AuthenticationResult.
protected  void setRedirectURI(java.lang.String redirect)
          Sets the desired redirect URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationResult

public AuthenticationResult()
Method Detail

setLoginStatus

protected final void setLoginStatus(boolean newLoginStatus)
Sets the login-status of this AuthenticationResult.

Parameters:
newLoginStatus - the new login-status of this AuthenticationResult

setParameterMappings

protected final void setParameterMappings(java.util.Map<java.lang.String,java.lang.String> newParameterMappings)
Sets the name-mappings for the httpParameters of this AuthenticationResult.

Parameters:
newParameterMappings - the new name-mappings for the httpParameters of the AuthenticationResult

setLoginModes

protected final void setLoginModes(java.util.Set<java.lang.String> newLoginModes)
Sets the login-modes of this AuthenticationResult.

Parameters:
newLoginModes - the new login-modes of this AuthenticationResult

setError

protected final void setError(java.lang.Integer newErrorCode,
                              java.lang.String newErrorDescription)
Sets the error-code and the error-description of this AuthenticationResult. If the parameter newErrorCode is null, the error-description will be set to null , too, regardless of the parameter newErrorDescription.

Parameters:
newErrorCode - the new error-code of this AuthenticationResult
newErrorDescription - the new error-description of this AuthenticationResult

setRedirectURI

protected void setRedirectURI(java.lang.String redirect)
Sets the desired redirect URI.

Parameters:
redirect - the desired redirect URI

deserializeToJDOM

public final org.jdom.Element deserializeToJDOM()
Serializes the state of this AuthenticationResult as a JDOM Element.

Specified by:
deserializeToJDOM in interface JDOMable
Returns:
the state of this AuthenticationResult as a JDOM Element.
See Also:
JDOMable.deserializeToJDOM()