org.opensaml.saml2.metadata.impl
Class SSODescriptorImpl
java.lang.Object
org.opensaml.xml.AbstractXMLObject
org.opensaml.xml.signature.AbstractSignableXMLObject
org.opensaml.xml.AbstractValidatingSignableXMLObject
org.opensaml.common.impl.AbstractSignableSAMLObject
org.opensaml.saml2.metadata.impl.RoleDescriptorImpl
org.opensaml.saml2.metadata.impl.SSODescriptorImpl
- All Implemented Interfaces:
- SAMLObject, SignableSAMLObject, CacheableSAMLObject, TimeBoundSAMLObject, RoleDescriptor, SSODescriptor, AttributeExtensibleXMLObject, SignableXMLObject, ValidatingXMLObject, XMLObject
- Direct Known Subclasses:
- IDPSSODescriptorImpl, SPSSODescriptorImpl
public abstract class SSODescriptorImpl
- extends RoleDescriptorImpl
- implements SSODescriptor
Concrete implementation of SSODescriptor
.
Constructor Summary |
protected |
SSODescriptorImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.String namespacePrefix)
Constructor. |
Methods inherited from class org.opensaml.saml2.metadata.impl.RoleDescriptorImpl |
addSupportedProtocol, getCacheDuration, getContactPersons, getErrorURL, getExtensions, getID, getKeyDescriptors, getOrganization, getSignatureReferenceID, getSupportedProtocols, getUnknownAttributes, getValidUntil, isSupportedProtocol, isValid, removeAllSupportedProtocols, removeSupportedProtocol, removeSupportedProtocols, setCacheDuration, setErrorURL, setExtensions, setID, setOrganization, setValidUntil |
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, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opensaml.saml2.metadata.RoleDescriptor |
addSupportedProtocol, getContactPersons, getErrorURL, getExtensions, getID, getKeyDescriptors, getOrganization, getSupportedProtocols, isSupportedProtocol, removeAllSupportedProtocols, removeSupportedProtocol, removeSupportedProtocols, setErrorURL, setExtensions, setID, setOrganization |
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 |
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 |
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 |
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 |
SSODescriptorImpl
protected SSODescriptorImpl(java.lang.String namespaceURI,
java.lang.String elementLocalName,
java.lang.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
getArtifactResolutionServices
public java.util.List<ArtifactResolutionService> getArtifactResolutionServices()
- Gets a list of artifact resolution services for this service.
- Specified by:
getArtifactResolutionServices
in interface SSODescriptor
- Returns:
- list of artifact resolution services for this service
getDefaultArtificateResolutionService
public ArtifactResolutionService getDefaultArtificateResolutionService()
- Gets the default artifact resolution service or null if no service is marked as the default.
- Specified by:
getDefaultArtificateResolutionService
in interface SSODescriptor
- Returns:
- default artifact resolution service or null if no service is marked as the default
getSingleLogoutServices
public java.util.List<SingleLogoutService> getSingleLogoutServices()
- Gets a list of single logout services for this service.
- Specified by:
getSingleLogoutServices
in interface SSODescriptor
- Returns:
- list of single logout services for this service
getManageNameIDServices
public java.util.List<ManageNameIDService> getManageNameIDServices()
- Gets a list of manage NameId services for this service.
- Specified by:
getManageNameIDServices
in interface SSODescriptor
- Returns:
- list of manage NameId services for this service
getNameIDFormats
public java.util.List<NameIDFormat> getNameIDFormats()
- Gets the list of NameID formats this service supports.
- Specified by:
getNameIDFormats
in interface SSODescriptor
- Returns:
- NameID formats this service supports
getEndpoints
public java.util.List<Endpoint> getEndpoints()
- Gets a read-only list of endpoints for this role.
- Specified by:
getEndpoints
in interface RoleDescriptor
- Returns:
- immutable list of endpoints for this role
getEndpoints
public java.util.List<Endpoint> getEndpoints(javax.xml.namespace.QName type)
- Gets a read-only list of endpoints for this role for the given type.
- Specified by:
getEndpoints
in interface RoleDescriptor
- Parameters:
type
- the type of endpoints to retrieve
- Returns:
- immutable list of endpoints for this role
getOrderedChildren
public java.util.List<XMLObject> getOrderedChildren()
- Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
- Specified by:
getOrderedChildren
in interface XMLObject
- Overrides:
getOrderedChildren
in class RoleDescriptorImpl
- Returns:
- ordered list of child elements