com.pingidentity.sts.clientapi.model
Class STSResponse

java.lang.Object
  extended by com.pingidentity.sts.clientapi.model.STSResponse

public class STSResponse
extends java.lang.Object

STSResponse represents a response from the STS Server.


Constructor Summary
STSResponse(RequestSecurityTokenResponse rstr, STSMessage stsMessage)
          Creates a regular STS response
STSResponse(SoapFault soapFault, STSMessage stsMessage)
          Creates a fault STS response
 
Method Summary
 RequestSecurityTokenResponse getRstr()
           
 SoapFault getSoapFault()
           
 STSMessage getStsMessage()
           
 boolean isFault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STSResponse

public STSResponse(SoapFault soapFault,
                   STSMessage stsMessage)
Creates a fault STS response

Parameters:
soapFault - the SoapFault object
stsMessage - the STSMessage object

STSResponse

public STSResponse(RequestSecurityTokenResponse rstr,
                   STSMessage stsMessage)
Creates a regular STS response

Parameters:
rstr - the RequestSecurityTokenResponse object
stsMessage - the STSMessage object
Method Detail

getSoapFault

public SoapFault getSoapFault()
Returns:
the SoapFault object or null if this STSResponse is OK

getRstr

public RequestSecurityTokenResponse getRstr()
Returns:
RequestSecurityTokenResponse object of this STS response

isFault

public boolean isFault()
Returns:
true if this response is faulty, false otherwise

getStsMessage

public STSMessage getStsMessage()
Returns:
the STS message that was sent to the STS Server


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