org.opensaml.samlext.samlec.impl
Class SessionKeyImpl

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.validation.AbstractValidatingXMLObject
          extended by org.opensaml.common.impl.AbstractSAMLObject
              extended by org.opensaml.samlext.samlec.impl.SessionKeyImpl
All Implemented Interfaces:
SAMLObject, SessionKey, ActorBearing, MustUnderstandBearing, ValidatingXMLObject, XMLObject

public class SessionKeyImpl
extends AbstractSAMLObject
implements SessionKey

Concrete implementation of SessionKey.


Field Summary
private  String algorithm
          Algorithm attribute.
private  XMLObjectChildrenList<EncType> encTypes
          EncType children.
private  KeyInfo keyInfo
          KeyInfo child.
private  String soap11Actor
          soap11:actor attribute.
private  XSBooleanValue soap11MustUnderstand
          soap11:mustUnderstand.
 
Fields inherited from interface org.opensaml.samlext.samlec.SessionKey
ALGORITHM_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
 
Fields inherited from interface org.opensaml.ws.soap.soap11.MustUnderstandBearing
SOAP11_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP11_MUST_UNDERSTAND_ATTR_NAME
 
Fields inherited from interface org.opensaml.ws.soap.soap11.ActorBearing
SOAP11_ACTOR_ATTR_LOCAL_NAME, SOAP11_ACTOR_ATTR_NAME, SOAP11_ACTOR_NEXT
 
Constructor Summary
protected SessionKeyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
          Constructor.
 
Method Summary
 String getAlgorithm()
          Get the session key derivation algorithm.
 List<EncType> getEncTypes()
          Get the session key encryption typed.
 KeyInfo getKeyInfo()
          Get the KeyInfo object that describes the session key.
 List<XMLObject> getOrderedChildren()
          
 String getSOAP11Actor()
          
 Boolean isSOAP11MustUnderstand()
          
 XSBooleanValue isSOAP11MustUnderstandXSBoolean()
          
 void setAlgorithm(String newAlgorithm)
          Set the session key derivation algorithm.
 void setKeyInfo(KeyInfo newKeyInfo)
          Set the KeyInfo object that describes the session key.
 void setSOAP11Actor(String newActor)
          
 void setSOAP11MustUnderstand(Boolean newMustUnderstand)
          
 void setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)
          
 
Methods inherited from class org.opensaml.common.impl.AbstractSAMLObject
equals, hashCode, prepareForAssignment
 
Methods inherited from class org.opensaml.xml.validation.AbstractValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate, validateChildren
 
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, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject
deregisterValidator, getValidators, registerValidator, validate
 
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

soap11Actor

private String soap11Actor
soap11:actor attribute.


soap11MustUnderstand

private XSBooleanValue soap11MustUnderstand
soap11:mustUnderstand.


algorithm

private String algorithm
Algorithm attribute.


encTypes

private XMLObjectChildrenList<EncType> encTypes
EncType children.


keyInfo

private KeyInfo keyInfo
KeyInfo child.

Constructor Detail

SessionKeyImpl

protected SessionKeyImpl(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

isSOAP11MustUnderstand

public Boolean isSOAP11MustUnderstand()

Specified by:
isSOAP11MustUnderstand in interface MustUnderstandBearing

isSOAP11MustUnderstandXSBoolean

public XSBooleanValue isSOAP11MustUnderstandXSBoolean()

Specified by:
isSOAP11MustUnderstandXSBoolean in interface MustUnderstandBearing

setSOAP11MustUnderstand

public void setSOAP11MustUnderstand(Boolean newMustUnderstand)

Specified by:
setSOAP11MustUnderstand in interface MustUnderstandBearing

setSOAP11MustUnderstand

public void setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)

Specified by:
setSOAP11MustUnderstand in interface MustUnderstandBearing

getSOAP11Actor

public String getSOAP11Actor()

Specified by:
getSOAP11Actor in interface ActorBearing

setSOAP11Actor

public void setSOAP11Actor(String newActor)

Specified by:
setSOAP11Actor in interface ActorBearing

getAlgorithm

public String getAlgorithm()
Get the session key derivation algorithm.

Specified by:
getAlgorithm in interface SessionKey
Returns:
the algorithm used to derive the session key

setAlgorithm

public void setAlgorithm(String newAlgorithm)
Set the session key derivation algorithm.

Specified by:
setAlgorithm in interface SessionKey
Parameters:
newAlgorithm - the algorithm used to derive the session key

getEncTypes

public List<EncType> getEncTypes()
Get the session key encryption typed.

Specified by:
getEncTypes in interface SessionKey
Returns:
the encryption types of the session key

getKeyInfo

public KeyInfo getKeyInfo()
Get the KeyInfo object that describes the session key.

Specified by:
getKeyInfo in interface SessionKey
Returns:
the KeyInfo object that describes the session key

setKeyInfo

public void setKeyInfo(KeyInfo newKeyInfo)
Set the KeyInfo object that describes the session key.

Specified by:
setKeyInfo in interface SessionKey
Parameters:
newKeyInfo - the KeyInfo object that describes the session key

getOrderedChildren

public List<XMLObject> getOrderedChildren()

Specified by:
getOrderedChildren in interface XMLObject


Copyright © 1999-2013. All Rights Reserved.