org.openliberty.xmltooling.soapbinding
Class CredentialsContext

java.lang.Object
  extended by org.opensaml.xml.AbstractXMLObject
      extended by org.opensaml.xml.signature.AbstractSignableXMLObject
          extended by org.openliberty.xmltooling.soapbinding.CredentialsContext
All Implemented Interfaces:
org.opensaml.xml.AttributeExtensibleXMLObject, org.opensaml.xml.signature.SignableXMLObject, org.opensaml.xml.XMLObject

public class CredentialsContext
extends org.opensaml.xml.signature.AbstractSignableXMLObject
implements org.opensaml.xml.AttributeExtensibleXMLObject

It may be necessary for an entity receiving an ID-* message to indicate the type of credentials that should be used by the sender in submitting a message.

     <xs:complexType name="CredentialsContextType">
         <xs:sequence>
             <xs:element ref="samlp:RequestedAuthnContext" minOccurs="0"/>
             <xs:element name="SecurityMechID" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/>
         </xs:sequence>
         <xs:anyAttribute namespace="##other" processContents="lax"/>
     </xs:complexType>
 

Author:
asa

Nested Class Summary
static class CredentialsContext.Builder
          Internal Builder
static class CredentialsContext.Marshaller
          Internal Marshaller
static class CredentialsContext.Unmarshaller
          Internal Unmarshaller
 
Field Summary
static java.lang.String LOCAL_NAME
           
private  org.opensaml.xml.util.AttributeMap otherAttributes
           
private  org.opensaml.saml2.core.RequestedAuthnContext requestedAuthnContext
           
private  org.opensaml.xml.util.XMLObjectChildrenList<SecurityMechID> securityMechIDs
           
 
Constructor Summary
protected CredentialsContext()
           
protected CredentialsContext(java.lang.String namespaceURI, java.lang.String elementLocalName, java.lang.String namespacePrefix)
           
 
Method Summary
 java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
           
 org.opensaml.saml2.core.RequestedAuthnContext getRequestedAuthnContext()
           
 org.opensaml.xml.util.XMLObjectChildrenList<SecurityMechID> getSecurityMechIDs()
          A set of elements that specify ID-WSF security mechanism URIs
 org.opensaml.xml.util.AttributeMap getUnknownAttributes()
           
 void setRequestedAuthnContext(org.opensaml.saml2.core.RequestedAuthnContext requestedAuthnContext)
           
 
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject
getSignature, isSigned, setSignature
 
Methods inherited from class org.opensaml.xml.AbstractXMLObject
addNamespace, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, prepareForAssignment, prepareForAssignment, prepareForAssignment, prepareForAssignment, registerOwnID, releaseChildrenDOM, releaseDOM, releaseParentDOM, releaseThisAndChildrenDOM, releaseThisandParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setElementNamespacePrefix, setElementQName, 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, getDOM, getElementQName, getIDIndex, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
 

Field Detail

LOCAL_NAME

public static final java.lang.String LOCAL_NAME
See Also:
Constant Field Values

otherAttributes

private org.opensaml.xml.util.AttributeMap otherAttributes

requestedAuthnContext

private org.opensaml.saml2.core.RequestedAuthnContext requestedAuthnContext

securityMechIDs

private org.opensaml.xml.util.XMLObjectChildrenList<SecurityMechID> securityMechIDs
Constructor Detail

CredentialsContext

protected CredentialsContext()

CredentialsContext

protected CredentialsContext(java.lang.String namespaceURI,
                             java.lang.String elementLocalName,
                             java.lang.String namespacePrefix)
Method Detail

getRequestedAuthnContext

public org.opensaml.saml2.core.RequestedAuthnContext getRequestedAuthnContext()

setRequestedAuthnContext

public void setRequestedAuthnContext(org.opensaml.saml2.core.RequestedAuthnContext requestedAuthnContext)

getSecurityMechIDs

public org.opensaml.xml.util.XMLObjectChildrenList<SecurityMechID> getSecurityMechIDs()
A set of elements that specify ID-WSF security mechanism URIs

Returns:

getOrderedChildren

public java.util.List<org.opensaml.xml.XMLObject> getOrderedChildren()
Specified by:
getOrderedChildren in interface org.opensaml.xml.XMLObject

getUnknownAttributes

public org.opensaml.xml.util.AttributeMap getUnknownAttributes()
Specified by:
getUnknownAttributes in interface org.opensaml.xml.AttributeExtensibleXMLObject