org.openid4java.message
Class AssociationError

java.lang.Object
  extended by org.openid4java.message.Message
      extended by org.openid4java.message.DirectError
          extended by org.openid4java.message.AssociationError

public class AssociationError
extends DirectError

Author:
Marius Scurtescu, Johnny Bufu

Field Summary
private static org.apache.commons.logging.Log _log
           
static java.lang.String ASSOC_ERR
           
protected static java.util.List optionalFields
           
protected static java.util.List requiredFields
           
 
Fields inherited from class org.openid4java.message.Message
_destinationUrl, MODE_CANCEL, MODE_IDRES, MODE_SETUP_NEEDED, OPENID2_NS
 
Constructor Summary
protected AssociationError(ParameterList params)
           
protected AssociationError(java.lang.String msg, AssociationSessionType type)
           
 
Method Summary
static AssociationError createAssociationError(ParameterList params)
           
static AssociationError createAssociationError(java.lang.String msg, AssociationSessionType type)
           
 java.lang.String getAssocType()
           
private  java.lang.String getErrorCode()
           
 java.util.List getRequiredFields()
           
 java.lang.String getSessionType()
           
 void setAssociationSessionType(AssociationSessionType type)
           
 void validate()
          Checks that all required parameters are present
 
Methods inherited from class org.openid4java.message.DirectError
createDirectError, createDirectError, createDirectError, createDirectError, createDirectError, createDirectError, getErrorMsg, getException, isVersion2, setContact, setErrorMsg, setException, setReference
 
Methods inherited from class org.openid4java.message.Message
addExtension, addExtensionFactory, createMessage, createMessage, getDestinationUrl, getExtension, getExtensionAlias, getExtensionFactory, getExtensions, getParameter, getParameterMap, getParameters, getParameterValue, hasExtension, hasExtensionFactory, hasParameter, keyValueFormEncoding, set, wwwFormEncoding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_log

private static org.apache.commons.logging.Log _log

ASSOC_ERR

public static final java.lang.String ASSOC_ERR
See Also:
Constant Field Values

requiredFields

protected static final java.util.List requiredFields

optionalFields

protected static final java.util.List optionalFields
Constructor Detail

AssociationError

protected AssociationError(java.lang.String msg,
                           AssociationSessionType type)

AssociationError

protected AssociationError(ParameterList params)
Method Detail

createAssociationError

public static AssociationError createAssociationError(java.lang.String msg,
                                                      AssociationSessionType type)

createAssociationError

public static AssociationError createAssociationError(ParameterList params)

getRequiredFields

public java.util.List getRequiredFields()
Overrides:
getRequiredFields in class DirectError

setAssociationSessionType

public void setAssociationSessionType(AssociationSessionType type)

getSessionType

public java.lang.String getSessionType()

getAssocType

public java.lang.String getAssocType()

getErrorCode

private java.lang.String getErrorCode()

validate

public void validate()
              throws MessageException
Description copied from class: Message
Checks that all required parameters are present

Overrides:
validate in class Message
Throws:
MessageException


Copyright 2006-2008 Sxip Identity Corporation