org.jboss.identity.federation.api.wstrust
Class WSTrustRequestContext

java.lang.Object
  extended by org.jboss.identity.federation.api.wstrust.WSTrustRequestContext

public class WSTrustRequestContext
extends java.lang.Object

The WSTrustRequestContext contains all the information that is relevant for the security token request processing.

Author:
Stefan Guilhen

Constructor Summary
WSTrustRequestContext(RequestSecurityToken request)
           Creates an instance of WSTrustRequestContext using the specified request.
 
Method Summary
 RequestSecurityToken getRequestSecurityToken()
           Obtains the object the contains the information about the security token request.
 SecurityToken getSecurityToken()
           Obtains the security token contained in this context.
 void setSecurityToken(SecurityToken token)
           Sets the security token in the context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSTrustRequestContext

public WSTrustRequestContext(RequestSecurityToken request)

Creates an instance of WSTrustRequestContext using the specified request.

Parameters:
request - a RequestSecurityToken object that contains the information about the security token request.
Method Detail

getRequestSecurityToken

public RequestSecurityToken getRequestSecurityToken()

Obtains the object the contains the information about the security token request.

Returns:
a reference to the RequestSecurityToken instance.

getSecurityToken

public SecurityToken getSecurityToken()

Obtains the security token contained in this context.

Returns:
a reference to the SecurityToken instance.

setSecurityToken

public void setSecurityToken(SecurityToken token)

Sets the security token in the context.

Parameters:
token - the SecurityToken instance to be set.


Copyright © 2009 JBoss Inc.. All Rights Reserved.