Class SPSSODescriptorImpl
- 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.SSODescriptorImpl
-
- org.opensaml.saml.saml2.metadata.impl.SPSSODescriptorImpl
-
- All Implemented Interfaces:
AttributeExtensibleXMLObject,XMLObject,SAMLObject,SignableSAMLObject,CacheableSAMLObject,TimeBoundSAMLObject,RoleDescriptor,SPSSODescriptor,SSODescriptor,SignableXMLObject
public class SPSSODescriptorImpl extends SSODescriptorImpl implements SPSSODescriptor
Concrete implementation ofSPSSODescriptor.
-
-
Field Summary
Fields Modifier and Type Field Description private XMLObjectChildrenList<AssertionConsumerService>assertionConsumerServicesAssertionConsumerService children.private XSBooleanValueassertionSignedvalue for the want assertion signed attribute.private XMLObjectChildrenList<AttributeConsumingService>attributeConsumingServicesAttributeConsumingService children.private XSBooleanValueauthnRequestSignedvalue for isAuthnRequestSigned attribute.-
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
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Fields inherited from interface org.opensaml.saml.saml2.metadata.SPSSODescriptor
AUTH_REQUESTS_SIGNED_ATTRIB_NAME, DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME, WANT_ASSERTIONS_SIGNED_ATTRIB_NAME
-
Fields inherited from interface org.opensaml.saml.saml2.metadata.SSODescriptor
DEFAULT_ELEMENT_LOCAL_NAME, DEFAULT_ELEMENT_NAME, TYPE_LOCAL_NAME, TYPE_NAME
-
Fields inherited from interface org.opensaml.saml.saml2.common.TimeBoundSAMLObject
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSPSSODescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AssertionConsumerService>getAssertionConsumerServices()List<AttributeConsumingService>getAttributeConsumingServices()AssertionConsumerServicegetDefaultAssertionConsumerService()AttributeConsumingServicegetDefaultAttributeConsumingService()List<Endpoint>getEndpoints()List<Endpoint>getEndpoints(QName type)List<XMLObject>getOrderedChildren()BooleangetWantAssertionsSigned()XSBooleanValuegetWantAssertionsSignedXSBoolean()BooleanisAuthnRequestsSigned()XSBooleanValueisAuthnRequestsSignedXSBoolean()voidsetAuthnRequestsSigned(Boolean newIsSigned)voidsetAuthnRequestsSigned(XSBooleanValue isSigned)voidsetWantAssertionsSigned(Boolean wantAssestionSigned)voidsetWantAssertionsSigned(XSBooleanValue wantAssestionSigned)-
Methods inherited from class org.opensaml.saml.saml2.metadata.impl.SSODescriptorImpl
getArtifactResolutionServices, getDefaultArtifactResolutionService, getManageNameIDServices, getNameIDFormats, getSingleLogoutServices
-
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, setValidUntil
-
Methods inherited from class org.opensaml.saml.common.AbstractSignableSAMLObject
equals, hashCode, setSignature
-
Methods inherited from class org.opensaml.xmlsec.signature.AbstractSignableXMLObject
getSignature, isSigned
-
Methods inherited from class org.opensaml.core.xml.AbstractXMLObject
detach, 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, setSchemaType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
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, 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, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation
-
-
-
-
Field Detail
-
authnRequestSigned
private XSBooleanValue authnRequestSigned
value for isAuthnRequestSigned attribute.
-
assertionSigned
private XSBooleanValue assertionSigned
value for the want assertion signed attribute.
-
assertionConsumerServices
private final XMLObjectChildrenList<AssertionConsumerService> assertionConsumerServices
AssertionConsumerService children.
-
attributeConsumingServices
private final XMLObjectChildrenList<AttributeConsumingService> attributeConsumingServices
AttributeConsumingService children.
-
-
Constructor Detail
-
SPSSODescriptorImpl
protected SPSSODescriptorImpl(String namespaceURI, String elementLocalName, 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 Detail
-
isAuthnRequestsSigned
public Boolean isAuthnRequestsSigned()
- Specified by:
isAuthnRequestsSignedin interfaceSPSSODescriptor
-
isAuthnRequestsSignedXSBoolean
public XSBooleanValue isAuthnRequestsSignedXSBoolean()
- Specified by:
isAuthnRequestsSignedXSBooleanin interfaceSPSSODescriptor
-
setAuthnRequestsSigned
public void setAuthnRequestsSigned(Boolean newIsSigned)
- Specified by:
setAuthnRequestsSignedin interfaceSPSSODescriptor
-
setAuthnRequestsSigned
public void setAuthnRequestsSigned(XSBooleanValue isSigned)
- Specified by:
setAuthnRequestsSignedin interfaceSPSSODescriptor
-
getWantAssertionsSigned
public Boolean getWantAssertionsSigned()
- Specified by:
getWantAssertionsSignedin interfaceSPSSODescriptor
-
getWantAssertionsSignedXSBoolean
public XSBooleanValue getWantAssertionsSignedXSBoolean()
- Specified by:
getWantAssertionsSignedXSBooleanin interfaceSPSSODescriptor
-
setWantAssertionsSigned
public void setWantAssertionsSigned(Boolean wantAssestionSigned)
- Specified by:
setWantAssertionsSignedin interfaceSPSSODescriptor
-
setWantAssertionsSigned
public void setWantAssertionsSigned(XSBooleanValue wantAssestionSigned)
- Specified by:
setWantAssertionsSignedin interfaceSPSSODescriptor
-
getAssertionConsumerServices
public List<AssertionConsumerService> getAssertionConsumerServices()
- Specified by:
getAssertionConsumerServicesin interfaceSPSSODescriptor
-
getDefaultAssertionConsumerService
public AssertionConsumerService getDefaultAssertionConsumerService()
- Specified by:
getDefaultAssertionConsumerServicein interfaceSPSSODescriptor
-
getAttributeConsumingServices
public List<AttributeConsumingService> getAttributeConsumingServices()
- Specified by:
getAttributeConsumingServicesin interfaceSPSSODescriptor
-
getDefaultAttributeConsumingService
public AttributeConsumingService getDefaultAttributeConsumingService()
- Specified by:
getDefaultAttributeConsumingServicein interfaceSPSSODescriptor
-
getEndpoints
public List<Endpoint> getEndpoints()
- Specified by:
getEndpointsin interfaceRoleDescriptor- Overrides:
getEndpointsin classSSODescriptorImpl
-
getEndpoints
public List<Endpoint> getEndpoints(QName type)
- Specified by:
getEndpointsin interfaceRoleDescriptor- Overrides:
getEndpointsin classSSODescriptorImpl
-
getOrderedChildren
public List<XMLObject> getOrderedChildren()
- Specified by:
getOrderedChildrenin interfaceXMLObject- Overrides:
getOrderedChildrenin classSSODescriptorImpl
-
-