org.opensaml.ws.wsfed.impl
Class RequestSecurityTokenResponseImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.ws.wsfed.impl.RequestSecurityTokenResponseImpl
All Implemented Interfaces:
RequestSecurityTokenResponse, WSFedObject, XMLObject

public class RequestSecurityTokenResponseImpl
extends AbstractXMLObject
implements RequestSecurityTokenResponse

Implementation of the RequestSecurityTokenResponse object.


Field Summary
private  AppliesTo appliesTo
          Entity to whom the tokens apply.
private  XMLObjectChildrenList<RequestedSecurityToken> requestedSecurityTokens
          List of all the request security tokens.
 
Fields inherited from interface org.opensaml.ws.wsfed.RequestSecurityTokenResponse
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Constructor Summary
RequestSecurityTokenResponseImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 AppliesTo getAppliesTo()
          Gets the entity to which the token applies.
 List<XMLObject> getOrderedChildren()
          
 List<RequestedSecurityToken> getRequestedSecurityToken()
          Return the list of Security Token child elements.
 void setAppliesTo(AppliesTo newappliesTo)
          Set the entity to which the token applies.
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation, setSchemaType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.XMLObject
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

requestedSecurityTokens

private final XMLObjectChildrenList<RequestedSecurityToken> requestedSecurityTokens
List of all the request security tokens.


appliesTo

private AppliesTo appliesTo
Entity to whom the tokens apply.

Constructor Detail

RequestSecurityTokenResponseImpl

RequestSecurityTokenResponseImpl(String namespaceURI,
                                 String elementLocalName,
                                 String namespacePrefix)
Constructor.

Parameters:
namespaceURI - the namespace the element is in
elementLocalName - the local name of the XML element this Object represents
namespacePrefix - the prefix for the given namespace
Method Detail

getRequestedSecurityToken

public List<RequestedSecurityToken> getRequestedSecurityToken()
Return the list of Security Token child elements.

Specified by:
getRequestedSecurityToken in interface RequestSecurityTokenResponse
Returns:
the list of RequestedSecurityToken child elements.

getAppliesTo

public AppliesTo getAppliesTo()
Gets the entity to which the token applies.

Specified by:
getAppliesTo in interface RequestSecurityTokenResponse
Returns:
the entity to which the token applies

setAppliesTo

public void setAppliesTo(AppliesTo newappliesTo)
Set the entity to which the token applies.

Specified by:
setAppliesTo in interface RequestSecurityTokenResponse
Parameters:
newappliesTo - the entity to which the token applies

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.