org.eclipse.higgins.sts
Class STSRequest

java.lang.Object
  extended by org.eclipse.higgins.sts.STSRequest

public class STSRequest
extends java.lang.Object

Encapsulates values associated with the STS Request (RequestSecurityToken[Collection])

Author:
mikemci@us.ibm.com

Constructor Summary
STSRequest()
           
 
Method Summary
 org.w3c.dom.Element getActionHeader()
          Returns the WS-Addressing Action header element
 org.w3c.dom.Element getFromHeader()
          Returns the WS-Addressing From header element
 java.security.Principal getPrincipal()
          Returns the WS-Security authenticated principal
 RequestSecurityTokenCollection getRequestSecurityTokenCollection()
          Returns the WS-Trust RequestSecurityTokenCollection element
 org.w3c.dom.Element getToHeader()
          Returns the WS-Addressing To header element
 void setActionHeader(org.w3c.dom.Element elemActionHeader)
          Sets the WS-Addressing Action header element
 void setFromHeader(org.w3c.dom.Element elemFromHeader)
          Sets the WS-Addressing From header element
 void setPrincipal(java.security.Principal principal)
          Sets the WS-Security authenticated principal
 void setToHeader(org.w3c.dom.Element elemToHeader)
          Sets the WS-Addressing To header element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STSRequest

public STSRequest()
Method Detail

getActionHeader

public org.w3c.dom.Element getActionHeader()
Returns the WS-Addressing Action header element

Returns:
the WS-Addressing Action header element

getFromHeader

public org.w3c.dom.Element getFromHeader()
Returns the WS-Addressing From header element

Returns:
the WS-Addressing From header element

getToHeader

public org.w3c.dom.Element getToHeader()
Returns the WS-Addressing To header element

Returns:
the WS-Addressing To header element

getPrincipal

public java.security.Principal getPrincipal()
Returns the WS-Security authenticated principal

Returns:
the WS-Security authenticated principal

getRequestSecurityTokenCollection

public RequestSecurityTokenCollection getRequestSecurityTokenCollection()
Returns the WS-Trust RequestSecurityTokenCollection element

Returns:
the WS-Trust RequestSecurityTokenCollection element

setActionHeader

public void setActionHeader(org.w3c.dom.Element elemActionHeader)
Sets the WS-Addressing Action header element

Parameters:
the - WS-Addressing Action header element

setFromHeader

public void setFromHeader(org.w3c.dom.Element elemFromHeader)
Sets the WS-Addressing From header element

Parameters:
the - WS-Addressing From header element

setToHeader

public void setToHeader(org.w3c.dom.Element elemToHeader)
Sets the WS-Addressing To header element

Parameters:
the - WS-Addressing To header element

setPrincipal

public void setPrincipal(java.security.Principal principal)
Sets the WS-Security authenticated principal

Parameters:
the - WS-Security authenticated principal