Package org.opensaml.saml.saml2.metadata
Interface SPSSODescriptor
- All Superinterfaces:
AttributeExtensibleXMLObject,CacheableSAMLObject,RoleDescriptor,SAMLObject,SignableSAMLObject,SignableXMLObject,SSODescriptor,TimeBoundSAMLObject,XMLObject
- All Known Implementing Classes:
SPSSODescriptorImpl
SAML 2.0 Metadata SPSSODescriptorType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String"AuthnRequestsSigned" attribute's local name.static final StringElement name, no namespace.static final QNameDefault element name.static final StringLocal name of the XSI type.static final QNameQName of the XSI type.static final String"WantAssertionsSigned" attribute's local name.Fields 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
ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAMEFields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME -
Method Summary
Modifier and TypeMethodDescriptionGets a list of assertion consumer serviceEndpoints for this service.Gets a list of attribute consuming service descriptors for this service.Gets the default assertion consumer service.Gets the default attribute consuming service.Gets whether this service wants assertions signed.Gets whether this service wants assertions signed.Gets whether this service signs AuthN requests.Gets whether this service signs AuthN requests.voidsetAuthnRequestsSigned(Boolean newIsSigned) Sets whether this service signs AuthN requests.voidsetAuthnRequestsSigned(XSBooleanValue newIsSigned) Sets whether this service signs AuthN requests.voidsetWantAssertionsSigned(Boolean newWantAssestionSigned) Sets whether this service wants assertions signed.voidsetWantAssertionsSigned(XSBooleanValue newWantAssestionSigned) Sets whether this service wants assertions signed.Methods 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, getEndpoints, getEndpoints, 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.metadata.SSODescriptor
getArtifactResolutionServices, getDefaultArtifactResolutionService, getManageNameIDServices, getNameIDFormats, getSingleLogoutServicesMethods 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, getOrderedChildren, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
Field Details
-
DEFAULT_ELEMENT_LOCAL_NAME
Element name, no namespace.- See Also:
-
DEFAULT_ELEMENT_NAME
Default element name. -
TYPE_LOCAL_NAME
Local name of the XSI type.- See Also:
-
TYPE_NAME
QName of the XSI type. -
AUTH_REQUESTS_SIGNED_ATTRIB_NAME
"AuthnRequestsSigned" attribute's local name.- See Also:
-
WANT_ASSERTIONS_SIGNED_ATTRIB_NAME
"WantAssertionsSigned" attribute's local name.- See Also:
-
-
Method Details
-
isAuthnRequestsSigned
Gets whether this service signs AuthN requests.- Returns:
- true of this service signs requests, false if not
-
isAuthnRequestsSignedXSBoolean
Gets whether this service signs AuthN requests.- Returns:
- true of this service signs requests, false if not
-
setAuthnRequestsSigned
Sets whether this service signs AuthN requests. Boolean values will be marshalled to either "true" or "false".- Parameters:
newIsSigned- true of this service signs requests, false if not
-
setAuthnRequestsSigned
Sets whether this service signs AuthN requests.- Parameters:
newIsSigned- true of this service signs requests, false if not
-
getWantAssertionsSigned
Gets whether this service wants assertions signed.- Returns:
- true if this service wants assertions signed, false if not
-
getWantAssertionsSignedXSBoolean
Gets whether this service wants assertions signed.- Returns:
- true if this service wants assertions signed, false if not
-
setWantAssertionsSigned
Sets whether this service wants assertions signed. Boolean values will be marshalled to either "true" or "false".- Parameters:
newWantAssestionSigned- true if this service wants assertions signed, false if not
-
setWantAssertionsSigned
Sets whether this service wants assertions signed.- Parameters:
newWantAssestionSigned- true if this service wants assertions signed, false if not
-
getAssertionConsumerServices
Gets a list of assertion consumer serviceEndpoints for this service.- Returns:
- list of assertion consumer service
Endpoints for this service
-
getDefaultAssertionConsumerService
Gets the default assertion consumer service.The selection algorithm used is:
- Select the first service with an explicit
isDefault=true - Select the first service with no explicit
isDefault - Select the first service
- Returns:
- default assertion consumer service (or null if there are no assertion consumer services defined)
- Select the first service with an explicit
-
getAttributeConsumingServices
Gets a list of attribute consuming service descriptors for this service.- Returns:
- list of attribute consuming service descriptors for this service
-
getDefaultAttributeConsumingService
Gets the default attribute consuming service.The selection algorithm used is:
- Select the first service with an explicit
isDefault=true - Select the first service with no explicit
isDefault - Select the first service
- Returns:
- default attribute consuming service (or null if there are no attribute consuming services defined)
- Select the first service with an explicit
-