Class SSODescriptorImpl

  • All Implemented Interfaces:
    org.opensaml.core.xml.AttributeExtensibleXMLObject, org.opensaml.core.xml.XMLObject, org.opensaml.saml.common.SAMLObject, org.opensaml.saml.common.SignableSAMLObject, org.opensaml.saml.saml2.common.CacheableSAMLObject, org.opensaml.saml.saml2.common.TimeBoundSAMLObject, org.opensaml.saml.saml2.metadata.RoleDescriptor, org.opensaml.saml.saml2.metadata.SSODescriptor, org.opensaml.xmlsec.signature.SignableXMLObject
    Direct Known Subclasses:
    IDPSSODescriptorImpl, SPSSODescriptorImpl

    public abstract class SSODescriptorImpl
    extends RoleDescriptorImpl
    implements org.opensaml.saml.saml2.metadata.SSODescriptor
    Concrete implementation of SSODescriptor.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.ArtifactResolutionService> artifactResolutionServices
      Supported artifact resolutions services.
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.ManageNameIDService> manageNameIDServices
      Manage NameID services for this entity.
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.NameIDFormat> nameIDFormats
      NameID formats supported by this entity.
      private org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.SingleLogoutService> singleLogoutServices
      Logout services for this SSO entity.
      • Fields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject

        CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME
      • Fields inherited from interface org.opensaml.saml.saml2.metadata.RoleDescriptor

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.saml.saml2.metadata.SSODescriptor

        DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
      • Fields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject

        VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SSODescriptorImpl​(String namespaceURI, String elementLocalName, String namespacePrefix)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      List<org.opensaml.saml.saml2.metadata.ArtifactResolutionService> getArtifactResolutionServices()
      org.opensaml.saml.saml2.metadata.ArtifactResolutionService getDefaultArtifactResolutionService()
      List<org.opensaml.saml.saml2.metadata.Endpoint> getEndpoints()
      List<org.opensaml.saml.saml2.metadata.Endpoint> getEndpoints​(QName type)
      List<org.opensaml.saml.saml2.metadata.ManageNameIDService> getManageNameIDServices()
      List<org.opensaml.saml.saml2.metadata.NameIDFormat> getNameIDFormats()
      List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
      List<org.opensaml.saml.saml2.metadata.SingleLogoutService> getSingleLogoutServices()
      • Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject

        equals, hashCode, setSignature
      • Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject

        getSignature, isSigned
      • 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 interface org.opensaml.core.xml.AttributeExtensibleXMLObject

        getUnknownAttributes
      • Methods inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject

        getCacheDuration, setCacheDuration
      • Methods inherited from interface org.opensaml.saml.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.saml.common.SignableSAMLObject

        getSignatureReferenceID
      • Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject

        getSignature, isSigned, setSignature
      • Methods inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject

        getValidUntil, isValid, setValidUntil
      • 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

      • artifactResolutionServices

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.ArtifactResolutionService> artifactResolutionServices
        Supported artifact resolutions services.
      • singleLogoutServices

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.SingleLogoutService> singleLogoutServices
        Logout services for this SSO entity.
      • manageNameIDServices

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.ManageNameIDService> manageNameIDServices
        Manage NameID services for this entity.
      • nameIDFormats

        private final org.opensaml.core.xml.util.XMLObjectChildrenList<org.opensaml.saml.saml2.metadata.NameIDFormat> nameIDFormats
        NameID formats supported by this entity.
    • Constructor Detail

      • SSODescriptorImpl

        protected SSODescriptorImpl​(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

      • getArtifactResolutionServices

        public List<org.opensaml.saml.saml2.metadata.ArtifactResolutionService> getArtifactResolutionServices()
        Specified by:
        getArtifactResolutionServices in interface org.opensaml.saml.saml2.metadata.SSODescriptor
      • getDefaultArtifactResolutionService

        public org.opensaml.saml.saml2.metadata.ArtifactResolutionService getDefaultArtifactResolutionService()
        Specified by:
        getDefaultArtifactResolutionService in interface org.opensaml.saml.saml2.metadata.SSODescriptor
      • getSingleLogoutServices

        public List<org.opensaml.saml.saml2.metadata.SingleLogoutService> getSingleLogoutServices()
        Specified by:
        getSingleLogoutServices in interface org.opensaml.saml.saml2.metadata.SSODescriptor
      • getManageNameIDServices

        public List<org.opensaml.saml.saml2.metadata.ManageNameIDService> getManageNameIDServices()
        Specified by:
        getManageNameIDServices in interface org.opensaml.saml.saml2.metadata.SSODescriptor
      • getNameIDFormats

        public List<org.opensaml.saml.saml2.metadata.NameIDFormat> getNameIDFormats()
        Specified by:
        getNameIDFormats in interface org.opensaml.saml.saml2.metadata.SSODescriptor
      • getEndpoints

        public List<org.opensaml.saml.saml2.metadata.Endpoint> getEndpoints()
        Specified by:
        getEndpoints in interface org.opensaml.saml.saml2.metadata.RoleDescriptor
      • getEndpoints

        public List<org.opensaml.saml.saml2.metadata.Endpoint> getEndpoints​(QName type)
        Specified by:
        getEndpoints in interface org.opensaml.saml.saml2.metadata.RoleDescriptor
      • getOrderedChildren

        public List<org.opensaml.core.xml.XMLObject> getOrderedChildren()
        Specified by:
        getOrderedChildren in interface org.opensaml.core.xml.XMLObject
        Overrides:
        getOrderedChildren in class RoleDescriptorImpl