Package com.attivio.sdk.security
Class AuthenticationResponse
- java.lang.Object
-
- com.attivio.sdk.esb.AbstractPlatformMessage
-
- com.attivio.sdk.security.AuthenticationResponse
-
- All Implemented Interfaces:
PlatformMessage
,java.io.Serializable
,java.lang.Cloneable
public class AuthenticationResponse extends AbstractPlatformMessage
PlatformMessage for returning AuthenticationRequest's response.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.attivio.sdk.esb.PlatformMessage
DEFAULT_MAX_LOG_LENGTH, MESSAGE_DROPPED, MESSAGE_SEND_TIME_PROP, PROP_MAX_LOG_LENGTH
-
-
Constructor Summary
Constructors Constructor Description AuthenticationResponse()
Default ConstructorAuthenticationResponse(AttivioPrincipal prin)
Create new response message with the given AttivioPrincipal
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
AttivioPrincipal
getPrincipal()
int
hashCode()
void
setPrincipal(AttivioPrincipal principal)
-
Methods inherited from class com.attivio.sdk.esb.AbstractPlatformMessage
addMessageHistory, addMessageHistory, clone, getClientId, getEstimatedSize, getMessageHistory, getMessageId, getMetadata, getProperty, getProperty, getProperty, getProperty, getProperty, getProperty, getWorkflowQueue, getWorkflowQueue, hasProperty, isRedelivered, removeProperty, removeWorkflowQueue, setClientId, setMessageId, setProperty, setRedelivered, setWorkflowQueue, setWorkflowQueue, toMessageString, toString, toString, toString, toString, toString, toString, toString, toString, toString, toString
-
-
-
-
Constructor Detail
-
AuthenticationResponse
public AuthenticationResponse()
Default Constructor
-
AuthenticationResponse
public AuthenticationResponse(AttivioPrincipal prin)
Create new response message with the given AttivioPrincipal
-
-
Method Detail
-
getPrincipal
public AttivioPrincipal getPrincipal()
-
setPrincipal
public void setPrincipal(AttivioPrincipal principal)
-
hashCode
public int hashCode()
Description copied from class:AbstractPlatformMessage
- Overrides:
hashCode
in classAbstractPlatformMessage
-
equals
public boolean equals(java.lang.Object obj)
Description copied from class:AbstractPlatformMessage
- Overrides:
equals
in classAbstractPlatformMessage
-
-