org.opensaml.saml2.metadata.impl
Class IDPSSODescriptorImpl
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
org.opensaml.saml2.metadata.impl.IDPSSODescriptorImpl
- All Implemented Interfaces:
- SAMLObject, SignableSAMLObject, CacheableSAMLObject, TimeBoundSAMLObject, IDPSSODescriptor, RoleDescriptor, SSODescriptor, AttributeExtensibleXMLObject, SignableXMLObject, ValidatingXMLObject, XMLObject
public class IDPSSODescriptorImpl
- extends SSODescriptorImpl
- implements IDPSSODescriptor
Concrete implementation of IDPSSODescriptor
.
Constructor Summary |
protected |
IDPSSODescriptorImpl(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 |
IDPSSODescriptorImpl
protected IDPSSODescriptorImpl(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
getWantAuthnRequestsSigned
public java.lang.Boolean getWantAuthnRequestsSigned()
- Checks if the IDP SSO service wants authentication requests signed.
- Specified by:
getWantAuthnRequestsSigned
in interface IDPSSODescriptor
- Returns:
- true is signing is desired, false if not
getWantAuthnRequestsSignedXSBoolean
public XSBooleanValue getWantAuthnRequestsSignedXSBoolean()
- Checks if the IDP SSO service wants authentication requests signed.
- Specified by:
getWantAuthnRequestsSignedXSBoolean
in interface IDPSSODescriptor
- Returns:
- true is signing is desired, false if not
setWantAuthnRequestSigned
public void setWantAuthnRequestSigned(java.lang.Boolean newWantSigned)
- Sets whether the IDP SSO service wants authentication requests signed. Boolean values will be marshalled to
either "true" or "false".
- Specified by:
setWantAuthnRequestSigned
in interface IDPSSODescriptor
- Parameters:
newWantSigned
- true if request should be signed, false if not
setWantAuthnRequestSigned
public void setWantAuthnRequestSigned(XSBooleanValue wantSigned)
- Sets whether the IDP SSO service wants authentication requests signed.
- Specified by:
setWantAuthnRequestSigned
in interface IDPSSODescriptor
- Parameters:
wantSigned
- true if request should be signed, false if not
getSingleSignOnServices
public java.util.List<SingleSignOnService> getSingleSignOnServices()
- Gets the list of single sign on services for this IDP.
- Specified by:
getSingleSignOnServices
in interface IDPSSODescriptor
- Returns:
- list of single sign on services
getNameIDMappingServices
public java.util.List<NameIDMappingService> getNameIDMappingServices()
- Gets the list of NameID mapping services for this service.
- Specified by:
getNameIDMappingServices
in interface IDPSSODescriptor
- Returns:
- the list of NameID mapping services for this service
getAssertionIDRequestServices
public java.util.List<AssertionIDRequestService> getAssertionIDRequestServices()
- Gets the list of assertion ID request services.
- Specified by:
getAssertionIDRequestServices
in interface IDPSSODescriptor
- Returns:
- assertion ID request services
getAttributeProfiles
public java.util.List<AttributeProfile> getAttributeProfiles()
- Gets the list of attribute profiles supported by this IdP.
- Specified by:
getAttributeProfiles
in interface IDPSSODescriptor
- Returns:
- attribute profiles supported by this IdP
getAttributes
public java.util.List<Attribute> getAttributes()
- Gets the list of attributes supported by this IdP.
- Specified by:
getAttributes
in interface IDPSSODescriptor
- Returns:
- attributes supported by this IdP
getEndpoints
public java.util.List<Endpoint> getEndpoints()
- Gets a read-only list of endpoints for this role.
- Specified by:
getEndpoints
in interface RoleDescriptor
- Overrides:
getEndpoints
in class SSODescriptorImpl
- 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
- Overrides:
getEndpoints
in class SSODescriptorImpl
- 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 SSODescriptorImpl
- Returns:
- ordered list of child elements