com.pingidentity.sts.clientapi.protocol
Class RequestSecurityTokenResponse

java.lang.Object
  extended by com.pingidentity.sts.clientapi.protocol.RequestSecurityTokenResponse

public class RequestSecurityTokenResponse
extends java.lang.Object

RequestSecurityTokenResponse represents an RSTR from the STS Server.


Field Summary
static java.lang.String INVALID_STATUS_CODE
          URI of inValid status code
static java.lang.String VALID_STATUS_CODE
          URI of Valid status code
 
Constructor Summary
RequestSecurityTokenResponse(org.w3c.dom.Element rstrElement)
          Creates a RequestSecurityTokenResponse.
 
Method Summary
 java.lang.String getAppliesTo()
          Retrieves AppliesTo value
 org.w3c.dom.Element getRstrElement()
          Retrieves RequestSecurityTokenResponse Element
 java.lang.String getStatusCode()
          Retrieves the Status Code
 org.w3c.dom.Element getToken()
          Retrieves the token
 java.lang.String getTokenType()
          Retrieves the Token Type
 boolean isValidateStatusOk()
          Checks if the validation status is OK
 void setAppliesTo(java.lang.String appliesTo)
          Sets AppliesTo value
 void setRstrElement(org.w3c.dom.Element rstrElement)
          Sets RequestSecurityTokenResponse Element
 void setStatusCode(java.lang.String statusCode)
          Sets the Status Code
 void setToken(org.w3c.dom.Element token)
          Sets the token
 void setTokenType(java.lang.String tokenType)
          Sets the Token Type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VALID_STATUS_CODE

public static final java.lang.String VALID_STATUS_CODE
URI of Valid status code

See Also:
Constant Field Values

INVALID_STATUS_CODE

public static final java.lang.String INVALID_STATUS_CODE
URI of inValid status code

See Also:
Constant Field Values
Constructor Detail

RequestSecurityTokenResponse

public RequestSecurityTokenResponse(org.w3c.dom.Element rstrElement)
Creates a RequestSecurityTokenResponse.

Parameters:
rstrElement -
Method Detail

getRstrElement

public org.w3c.dom.Element getRstrElement()
Retrieves RequestSecurityTokenResponse Element

Returns:
RequestSecurityTokenResponse Element

setRstrElement

public void setRstrElement(org.w3c.dom.Element rstrElement)
Sets RequestSecurityTokenResponse Element

Parameters:
rstrElement -

getTokenType

public java.lang.String getTokenType()
Retrieves the Token Type

Returns:
the Token Type

setTokenType

public void setTokenType(java.lang.String tokenType)
Sets the Token Type

Parameters:
tokenType - the Token Type

getToken

public org.w3c.dom.Element getToken()
Retrieves the token

Returns:
the token issued by the STS server

setToken

public void setToken(org.w3c.dom.Element token)
Sets the token

Parameters:
token - the token issued by the STS server

getAppliesTo

public java.lang.String getAppliesTo()
Retrieves AppliesTo value

Returns:
the AppliesTo

setAppliesTo

public void setAppliesTo(java.lang.String appliesTo)
Sets AppliesTo value

Parameters:
appliesTo - the AppliesTo

getStatusCode

public java.lang.String getStatusCode()
Retrieves the Status Code

Returns:
the StatusCode

setStatusCode

public void setStatusCode(java.lang.String statusCode)
Sets the Status Code

Parameters:
statusCode - the StatusCode

isValidateStatusOk

public boolean isValidateStatusOk()
Checks if the validation status is OK

Returns:
true if status is OK, false otherwise


Copyright © 2006-2009 Ping Identity Corporation. All Rights Reserved.