Interface STSResponse
-
public interface STSResponseUsed to communicate all the response data to be sent back to the client.
STSResponse implementations allow the modification of member data.- Version:
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSTSResponse_java_copyrightstatic java.lang.StringSTSResponse_java_sourceCodeID
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RequestSecurityTokenResponseaddRequestSecurityTokenResponse()Creates a new WS-TrustRequestedSecurityTokenResponseobject with the side effect that aRequestSecurityTokenResponseCollectionis created.RequestSecurityTokenResponsegetRequestSecurityTokenResponse()Returns the WS-TrustRequestedSecurityTokenResponseobject.RequestSecurityTokenResponseCollectiongetRequestSecurityTokenResponseCollection()Returns the WS-TrustRequestedSecurityTokenResponseCollectionobject or null.org.w3c.dom.ElementgetSOAPEnvelope()Returns the SOAP envelope as aorg.w3c.dom.Elementto be returned to the client in the response, if null, there was not a SOAP envelope present for this response.STSUniversalUsergetSTSUniversalUser()Returns the currentcom.tivoli.am.fim.trustserver.sts.STSUniversalUserfor the response.
-
-
-
Field Detail
-
STSResponse_java_sourceCodeID
static final java.lang.String STSResponse_java_sourceCodeID
- See Also:
- Constant Field Values
-
STSResponse_java_copyright
static final java.lang.String STSResponse_java_copyright
-
-
Method Detail
-
getSOAPEnvelope
org.w3c.dom.Element getSOAPEnvelope()
Returns the SOAP envelope as aorg.w3c.dom.Elementto be returned to the client in the response, if null, there was not a SOAP envelope present for this response.
This method exposes a leaky abstraction and may return null if the response will not be sent over SOAP. In either case, the response message document should be used if the requirement is to create an element in the same response document.- Returns:
- a
org.w3c.dom.Elementof the SOAP envelope
-
getRequestSecurityTokenResponse
RequestSecurityTokenResponse getRequestSecurityTokenResponse()
Returns the WS-TrustRequestedSecurityTokenResponseobject. This method never returns null.- Returns:
- the
RequestedSecurityTokenResponseobject
-
getRequestSecurityTokenResponseCollection
RequestSecurityTokenResponseCollection getRequestSecurityTokenResponseCollection()
Returns the WS-TrustRequestedSecurityTokenResponseCollectionobject or null. To ensure a non-null result use theaddRequestSecurityTokenResponsemethod before invoking this method.- Returns:
- the
RequestedSecurityTokenResponseCollectionobject
-
addRequestSecurityTokenResponse
RequestSecurityTokenResponse addRequestSecurityTokenResponse()
Creates a new WS-TrustRequestedSecurityTokenResponseobject with the side effect that aRequestSecurityTokenResponseCollectionis created. The result is that there will be at least 2RequestedSecurityTokenResponseobjects: the default plus those added by this method.- Returns:
- the
RequestedSecurityTokenResponseobject
-
getSTSUniversalUser
STSUniversalUser getSTSUniversalUser()
Returns the currentcom.tivoli.am.fim.trustserver.sts.STSUniversalUserfor the response.- Returns:
- a
com.tivoli.am.fim.trustserver.sts.STSUniversalUserfor the current response.
-
-