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 String
Element name, no namespace.static final QName
Default element name.static final String
Local name of the XSI type.static final QName
QName 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_QNAME
Fields inherited from interface org.opensaml.saml.saml2.metadata.RoleDescriptor
ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAME
Fields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
-
Method Summary
Modifier and TypeMethodDescriptionGets an list of assertion consumer serviceEndpoint
s for this service.Gets an 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.void
setAuthnRequestsSigned
(Boolean newIsSigned) Sets whether this service signs AuthN requests.void
setAuthnRequestsSigned
(XSBooleanValue newIsSigned) Sets whether this service signs AuthN requests.void
setWantAssertionsSigned
(Boolean newWantAssestionSigned) Sets whether this service wants assertions signed.void
setWantAssertionsSigned
(XSBooleanValue newWantAssestionSigned) Sets whether this service wants assertions signed.Methods inherited from interface org.opensaml.core.xml.AttributeExtensibleXMLObject
getUnknownAttributes
Methods inherited from interface org.opensaml.saml.saml2.common.CacheableSAMLObject
getCacheDuration, setCacheDuration
Methods 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, setOrganization
Methods inherited from interface org.opensaml.saml.common.SignableSAMLObject
getSignatureReferenceID
Methods inherited from interface org.opensaml.xmlsec.signature.SignableXMLObject
getSignature, isSigned, setSignature
Methods inherited from interface org.opensaml.saml.saml2.metadata.SSODescriptor
getArtifactResolutionServices, getDefaultArtifactResolutionService, getManageNameIDServices, getNameIDFormats, getSingleLogoutServices
Methods inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
getValidUntil, isValid, setValidUntil
Methods inherited from interface org.opensaml.core.xml.XMLObject
detach, 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
Boolean isAuthnRequestsSigned()Gets whether this service signs AuthN requests.- Returns:
- true of this service signs requests, false if not
-
isAuthnRequestsSignedXSBoolean
XSBooleanValue 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
Boolean getWantAssertionsSigned()Gets whether this service wants assertions signed.- Returns:
- true if this service wants assertions signed, false if not
-
getWantAssertionsSignedXSBoolean
XSBooleanValue 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
List<AssertionConsumerService> getAssertionConsumerServices()Gets an list of assertion consumer serviceEndpoint
s for this service.- Returns:
- list of assertion consumer service
Endpoint
s for this service
-
getDefaultAssertionConsumerService
AssertionConsumerService 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
List<AttributeConsumingService> getAttributeConsumingServices()Gets an list of attribute consuming service descriptors for this service.- Returns:
- list of attribute consuming service descriptors for this service
-
getDefaultAttributeConsumingService
AttributeConsumingService 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
-