Class SSODescriptorImpl

All Implemented Interfaces:
AttributeExtensibleXMLObject, XMLObject, SAMLObject, SignableSAMLObject, CacheableSAMLObject, TimeBoundSAMLObject, RoleDescriptor, SSODescriptor, SignableXMLObject
Direct Known Subclasses:
IDPSSODescriptorImpl, SPSSODescriptorImpl

public abstract class SSODescriptorImpl extends RoleDescriptorImpl implements SSODescriptor
Concrete implementation of SSODescriptor.
  • Field Details

  • Constructor Details

    • 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 Details

    • getArtifactResolutionServices

      public 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
    • getDefaultArtifactResolutionService

      public ArtifactResolutionService getDefaultArtifactResolutionService()
      Gets the default artifact resolution service.

      The selection algorithm used is:

      1. Select the first service with an explicit isDefault=true
      2. Select the first service with no explicit isDefault
      3. Select the first service
      Specified by:
      getDefaultArtifactResolutionService in interface SSODescriptor
      Returns:
      default artifact resolution service (or null if there are no artifact resolution services defined)
    • getSingleLogoutServices

      public 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 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 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 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 List<Endpoint> getEndpoints(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 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