Class AffiliationDescriptorImpl

    • Constructor Detail

      • AffiliationDescriptorImpl

        protected AffiliationDescriptorImpl​(String namespaceURI,
                                            String elementLocalName,
                                            String namespacePrefix)
        Constructor.
        Parameters:
        namespaceURI - namespace
        elementLocalName - localname
        namespacePrefix - prefix
    • Method Detail

      • getOwnerID

        public String getOwnerID()
        Gets the ID of the owner of this affiliation. The owner may, or may not, be a member of the affiliation.
        Specified by:
        getOwnerID in interface AffiliationDescriptor
        Returns:
        the ID of the owner of this affiliation
      • setOwnerID

        public void setOwnerID​(String newOwnerID)
        Sets the ID of the owner of this affiliation.
        Specified by:
        setOwnerID in interface AffiliationDescriptor
        Parameters:
        newOwnerID - the ID of the owner of this affiliation
      • setID

        public void setID​(String newID)
        Sets the ID of this descriptor.
        Specified by:
        setID in interface AffiliationDescriptor
        Parameters:
        newID - the ID of this descriptor
      • isValid

        public boolean isValid()
        Checks to see if the current time is past the validUntil time.
        Specified by:
        isValid in interface TimeBoundSAMLObject
        Returns:
        true of this descriptor is still valid otherwise false
      • getValidUntil

        public Instant getValidUntil()
        Gets the date until which this descriptor is valid.
        Specified by:
        getValidUntil in interface TimeBoundSAMLObject
        Returns:
        the date until which this descriptor is valid
      • setValidUntil

        public void setValidUntil​(Instant theValidUntil)
        Sets the date until which this descriptor is valid.
        Specified by:
        setValidUntil in interface TimeBoundSAMLObject
        Parameters:
        theValidUntil - the date until which this descriptor is valid
      • getCacheDuration

        public Duration getCacheDuration()
        Gets the maximum time that this descriptor should be cached.
        Specified by:
        getCacheDuration in interface CacheableSAMLObject
        Returns:
        the maximum time that this descriptor should be cached
      • setCacheDuration

        public void setCacheDuration​(Duration duration)
        Sets the maximum time that this descriptor should be cached.
        Specified by:
        setCacheDuration in interface CacheableSAMLObject
        Parameters:
        duration - the maximum time that this descriptor should be cached
      • setExtensions

        public void setExtensions​(Extensions theExtensions)
        Sets the Extensions child of this object.
        Specified by:
        setExtensions in interface AffiliationDescriptor
        Parameters:
        theExtensions - the Extensions child of this object
      • getUnknownAttributes

        public AttributeMap getUnknownAttributes()
        Gets a mutable map of the attributes. The map key is the namespace qualified name of the attribute, the map value is the value of the attribute.
        Specified by:
        getUnknownAttributes in interface AttributeExtensibleXMLObject
        Returns:
        a map of the attributes
      • getSignatureReferenceID

        public String getSignatureReferenceID()
        Gets the value of the ID attribute for this SAML object which will be used as its signature reference.
        Specified by:
        getSignatureReferenceID in interface SignableSAMLObject
        Returns:
        the value of this SAMLObject ID attribute
      • 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
        Returns:
        ordered list of child elements