Class SessionKeyImpl
- java.lang.Object
-
- org.opensaml.core.xml.AbstractXMLObject
-
- org.opensaml.saml.ext.samlec.impl.SessionKeyImpl
-
- All Implemented Interfaces:
XMLObject,SAMLObject,SessionKey,ActorBearing,MustUnderstandBearing
public class SessionKeyImpl extends AbstractXMLObject implements SessionKey
Concrete implementation ofSessionKey.
-
-
Field Summary
Fields Modifier and Type Field Description private StringalgorithmAlgorithm attribute.private XMLObjectChildrenList<EncType>encTypesEncType children.private KeyInfokeyInfoKeyInfo child.private Stringsoap11Actorsoap11:actor attribute.private XSBooleanValuesoap11MustUnderstandsoap11:mustUnderstand.-
Fields inherited from interface org.opensaml.soap.soap11.ActorBearing
SOAP11_ACTOR_ATTR_LOCAL_NAME, SOAP11_ACTOR_ATTR_NAME, SOAP11_ACTOR_NEXT
-
Fields inherited from interface org.opensaml.soap.soap11.MustUnderstandBearing
SOAP11_MUST_UNDERSTAND_ATTR_LOCAL_NAME, SOAP11_MUST_UNDERSTAND_ATTR_NAME
-
Fields inherited from interface org.opensaml.saml.ext.samlec.SessionKey
ALGORITHM_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSessionKeyImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAlgorithm()Get the session key derivation algorithm.List<EncType>getEncTypes()Get the session key encryption typed.KeyInfogetKeyInfo()Get the KeyInfo object that describes the session key.List<XMLObject>getOrderedChildren()Gets an unmodifiable list of child elements in the order that they will appear in the DOM.StringgetSOAP11Actor()Get the attribute value.BooleanisSOAP11MustUnderstand()Get the attribute value.XSBooleanValueisSOAP11MustUnderstandXSBoolean()Get the attribute value.voidsetAlgorithm(String newAlgorithm)Set the session key derivation algorithm.voidsetKeyInfo(KeyInfo newKeyInfo)Set the KeyInfo object that describes the session key.voidsetSOAP11Actor(String newActor)Set the attribute value.voidsetSOAP11MustUnderstand(Boolean newMustUnderstand)Set the attribute value.voidsetSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)Set the attribute value.-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, manageQualifiedAttributeNamespace, prepareAttributeValueForAssignment, prepareElementContentForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, 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.core.xml.XMLObject
detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getObjectMetadata, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, 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 inelementLocalName- the local name of the XML element this Object representsnamespacePrefix- the prefix for the given namespace
-
-
Method Detail
-
isSOAP11MustUnderstand
public Boolean isSOAP11MustUnderstand()
Get the attribute value.- Specified by:
isSOAP11MustUnderstandin interfaceMustUnderstandBearing- Returns:
- return the attribute vlue
-
isSOAP11MustUnderstandXSBoolean
public XSBooleanValue isSOAP11MustUnderstandXSBoolean()
Get the attribute value.- Specified by:
isSOAP11MustUnderstandXSBooleanin interfaceMustUnderstandBearing- Returns:
- return the attribute vlue
-
setSOAP11MustUnderstand
public void setSOAP11MustUnderstand(Boolean newMustUnderstand)
Set the attribute value.- Specified by:
setSOAP11MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
setSOAP11MustUnderstand
public void setSOAP11MustUnderstand(XSBooleanValue newMustUnderstand)
Set the attribute value.- Specified by:
setSOAP11MustUnderstandin interfaceMustUnderstandBearing- Parameters:
newMustUnderstand- the new attribute value
-
getSOAP11Actor
public String getSOAP11Actor()
Get the attribute value.- Specified by:
getSOAP11Actorin interfaceActorBearing- Returns:
- return the attribute vlue
-
setSOAP11Actor
public void setSOAP11Actor(String newActor)
Set the attribute value.- Specified by:
setSOAP11Actorin interfaceActorBearing- Parameters:
newActor- the new attribute value
-
getAlgorithm
public String getAlgorithm()
Get the session key derivation algorithm.- Specified by:
getAlgorithmin interfaceSessionKey- Returns:
- the algorithm used to derive the session key
-
setAlgorithm
public void setAlgorithm(String newAlgorithm)
Set the session key derivation algorithm.- Specified by:
setAlgorithmin interfaceSessionKey- Parameters:
newAlgorithm- the algorithm used to derive the session key
-
getEncTypes
public List<EncType> getEncTypes()
Get the session key encryption typed.- Specified by:
getEncTypesin interfaceSessionKey- Returns:
- the encryption types of the session key
-
getKeyInfo
public KeyInfo getKeyInfo()
Get the KeyInfo object that describes the session key.- Specified by:
getKeyInfoin interfaceSessionKey- 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:
setKeyInfoin interfaceSessionKey- Parameters:
newKeyInfo- the KeyInfo object that describes the session key
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Returns:
- ordered list of child elements
-
-