Class AttributeAuthorityDescriptorImpl
java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.xmlsec.signature.AbstractSignableXMLObject
org.opensaml.saml.common.AbstractSignableSAMLObject
org.opensaml.saml.saml2.metadata.impl.RoleDescriptorImpl
org.opensaml.saml.saml2.metadata.impl.AttributeAuthorityDescriptorImpl
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignableSAMLObject,CacheableSAMLObject,TimeBoundSAMLObject,AttributeAuthorityDescriptor,RoleDescriptor,SignableXMLObject
public class AttributeAuthorityDescriptorImpl
extends RoleDescriptorImpl
implements AttributeAuthorityDescriptor
A concrete implementation of
AttributeAuthorityDescriptor.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final XMLObjectChildrenList<AssertionIDRequestService>Assertion request endpoints.private final XMLObjectChildrenList<AttributeProfile>Supported attribute profiles.private final XMLObjectChildrenList<Attribute>Supported attribute.private final XMLObjectChildrenList<AttributeService>Attribte query endpoints.private final XMLObjectChildrenList<NameIDFormat>Supported NameID formats.Fields inherited from interface org.opensaml.saml.saml2.metadata.AttributeAuthorityDescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAMEFields inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAMEFields 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_NAMEFields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAttributeAuthorityDescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGets a list of Assertion ID request services.Gets a list of Attribute profiles supported by this authority.Gets the list of attribute available from this authority.Gets a list of attribute serviceEndpoints for this authority.Gets immutable list of endpoints for this role.getEndpoints(QName type) Gets a read-only list of endpoints for this role for the given type.Gets a list of NameID formats supported by this authority.Gets an unmodifiable list of child elements in the order that they will appear in the DOM.Methods inherited from class org.opensaml.saml.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, setValidUntilMethods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignatureMethods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSignedMethods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, ensureDOM, 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, setSchemaTypeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributesMethods inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
getCacheDuration, setCacheDurationMethods inherited from interface org.opensaml.saml.saml2.metadata.RoleDescriptor
addSupportedProtocol, getContactPersons, getErrorURL, getExtensions, getID, getKeyDescriptors, getOrganization, getSupportedProtocols, isSupportedProtocol, removeAllSupportedProtocols, removeSupportedProtocol, removeSupportedProtocols, setErrorURL, setExtensions, setID, setOrganizationMethods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceIDMethods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignatureMethods inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
getValidUntil, isValid, setValidUntilMethods inherited from interface org.opensaml.core.xml.XMLObject
detach, ensureDOM, 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 Details
-
attributeServices
Attribte query endpoints. -
assertionIDRequestServices
Assertion request endpoints. -
nameFormats
Supported NameID formats. -
attributeProfiles
Supported attribute profiles. -
attributes
Supported attribute.
-
-
Constructor Details
-
AttributeAuthorityDescriptorImpl
protected AttributeAuthorityDescriptorImpl(@Nullable String namespaceURI, @Nonnull String elementLocalName, @Nullable 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
-
-
Method Details
-
getAttributeServices
Gets a list of attribute serviceEndpoints for this authority.- Specified by:
getAttributeServicesin interfaceAttributeAuthorityDescriptor- Returns:
- list of attributes services
-
getAssertionIDRequestServices
Gets a list of Assertion ID request services.- Specified by:
getAssertionIDRequestServicesin interfaceAttributeAuthorityDescriptor- Returns:
- list of Assertion ID request services
-
getNameIDFormats
Gets a list of NameID formats supported by this authority.- Specified by:
getNameIDFormatsin interfaceAttributeAuthorityDescriptor- Returns:
- list of NameID formats supported by this authority
-
getAttributeProfiles
Gets a list of Attribute profiles supported by this authority.- Specified by:
getAttributeProfilesin interfaceAttributeAuthorityDescriptor- Returns:
- list of Attribute profiles supported by this authority
-
getAttributes
Gets the list of attribute available from this authority.- Specified by:
getAttributesin interfaceAttributeAuthorityDescriptor- Returns:
- list of attribute available from this authority
-
getEndpoints
Gets immutable list of endpoints for this role.- Specified by:
getEndpointsin interfaceRoleDescriptor- Returns:
- immutable list of endpoints for this role
-
getEndpoints
Gets a read-only list of endpoints for this role for the given type.- Specified by:
getEndpointsin interfaceRoleDescriptor- Parameters:
type- the type of endpoints to retrieve- Returns:
- immutable list of endpoints for this role
-
getOrderedChildren
Gets an unmodifiable list of child elements in the order that they will appear in the DOM.- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classRoleDescriptorImpl- Returns:
- ordered list of child elements
-