public class ResponseInfo extends CacheObject
time
Constructor and Description |
---|
ResponseInfo()
Needed for deserialization.
|
ResponseInfo(Response response,
String binding,
String relayState)
Constructor creates the ResponseInfo.
|
Modifier and Type | Method and Description |
---|---|
Assertion |
getAssertion()
Returns the authn assertion
|
Map |
getAttributeMap()
Returns the map of the atrributes
|
NameID |
getNameId()
Returns the NameID
|
String |
getProfileBinding()
Returns the profile binding, one of the following values:
null ,
SAML2Constants.HTTP_POST ,
SAML2Constants.HTTP_ARTIFACT ,
SAML2Constants.PAOS |
String |
getRelayState()
Returns the relayState.
|
Response |
getResponse()
Returns the
Response object. |
String |
getSessionIndex()
Returns the SessionIndex.
|
boolean |
isLocalLogin()
Tells whether the user has been redirected to perform local login.
|
void |
setAssertion(Assertion assertion)
Sets the authn assertion
|
void |
setAttributeMap(Map attrs)
Sets the map of the attributes
|
void |
setIsLocalLogin(boolean isLocalLogin)
Sets the isLocalLogin flag.
|
void |
setNameId(NameID id)
Sets the NameId
|
void |
setSessionIndex(String index)
Sets SessionIndex.
|
getObject, getTime
public ResponseInfo(Response response, String binding, String relayState)
response
- the Responsebinding
- Profile binding used, one of the following values:
SAML2Constants.HTTP_POST
,
SAML2Constants.HTTP_ARTIFACT
,
SAML2Constants.PAOS
relayState
- relayState retrieved from ECP RelayState.public ResponseInfo()
public Response getResponse()
Response
object.Response
object.public String getRelayState()
public String getProfileBinding()
null
,
SAML2Constants.HTTP_POST
,
SAML2Constants.HTTP_ARTIFACT
,
SAML2Constants.PAOS
public void setAssertion(Assertion assertion)
assertion
- the authn assertion in the responsepublic Assertion getAssertion()
public void setAttributeMap(Map attrs)
attrs
- the attribute mappublic Map getAttributeMap()
public void setNameId(NameID id)
id
- the NameId in the assertionpublic NameID getNameId()
public void setSessionIndex(String index)
index
- SessionIndex of the sessionpublic String getSessionIndex()
public boolean isLocalLogin()
true
if the user was sent to perform local login.public void setIsLocalLogin(boolean isLocalLogin)
isLocalLogin
- The isLocalLogin flag.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.