|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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.SPSSODescriptorImpl
public class SPSSODescriptorImpl
Concrete implementation of SPSSODescriptor
.
Field Summary | |
---|---|
private XMLObjectChildrenList<AssertionConsumerService> |
assertionConsumerServices
AssertionConsumerService children. |
private XSBooleanValue |
assertionSigned
value for the want assertion signed attribute. |
private XMLObjectChildrenList<AttributeConsumingService> |
attributeConsumingServices
AttributeConsumingService children. |
private XSBooleanValue |
authnRequestSigned
value for isAuthnRequestSigned attribute. |
Fields inherited from interface org.opensaml.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.saml2.metadata.RoleDescriptor |
---|
ERROR_URL_ATTRIB_NAME, ID_ATTRIB_NAME, PROTOCOL_ENUMERATION_ATTRIB_NAME |
Fields inherited from interface org.opensaml.saml2.common.TimeBoundSAMLObject |
---|
VALID_UNTIL_ATTRIB_NAME, VALID_UNTIL_ATTRIB_QNAME |
Fields inherited from interface org.opensaml.saml2.common.CacheableSAMLObject |
---|
CACHE_DURATION_ATTRIB_NAME, CACHE_DURATION_ATTRIB_QNAME |
Constructor Summary | |
---|---|
protected |
SPSSODescriptorImpl(String namespaceURI,
String elementLocalName,
String namespacePrefix)
Constructor. |
Method Summary | |
---|---|
List<AssertionConsumerService> |
getAssertionConsumerServices()
Gets an list of assertion consumer service Endpoint s for this service. |
List<AttributeConsumingService> |
getAttributeConsumingServices()
Gets an list of attribute consuming service descriptors for this service. |
AssertionConsumerService |
getDefaultAssertionConsumerService()
Gets the default assertion consumer service. |
AttributeConsumingService |
getDefaultAttributeConsumingService()
Gets the default attribute consuming service. |
List<Endpoint> |
getEndpoints()
Gets a read-only list of endpoints for this role. |
List<Endpoint> |
getEndpoints(QName type)
Gets a read-only list of endpoints for this role for the given type. |
List<XMLObject> |
getOrderedChildren()
|
Boolean |
getWantAssertionsSigned()
Gets whether this service wants assertions signed. |
XSBooleanValue |
getWantAssertionsSignedXSBoolean()
Gets whether this service wants assertions signed. |
Boolean |
isAuthnRequestsSigned()
Gets whether this service signs AuthN requests. |
XSBooleanValue |
isAuthnRequestsSignedXSBoolean()
Gets whether this service signs AuthN requests. |
void |
setAuthnRequestsSigned(Boolean newIsSigned)
Sets whether this service signs AuthN requests. |
void |
setAuthnRequestsSigned(XSBooleanValue isSigned)
Sets whether this service signs AuthN requests. |
void |
setWantAssertionsSigned(Boolean wantAssestionSigned)
Sets whether this service wants assertions signed. |
void |
setWantAssertionsSigned(XSBooleanValue wantAssestionSigned)
Sets whether this service wants assertions signed. |
Methods inherited from class org.opensaml.saml2.metadata.impl.SSODescriptorImpl |
---|
getArtifactResolutionServices, getDefaultArtifactResolutionService, getDefaultArtificateResolutionService, getManageNameIDServices, getNameIDFormats, getSingleLogoutServices |
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.common.impl.AbstractSignableSAMLObject |
---|
equals, prepareForAssignment, setSignature |
Methods inherited from class org.opensaml.xml.AbstractValidatingSignableXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate, validateChildren |
Methods inherited from class org.opensaml.xml.signature.AbstractSignableXMLObject |
---|
getSignature, isSigned |
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.SSODescriptor |
---|
getArtifactResolutionServices, getDefaultArtifactResolutionService, getDefaultArtificateResolutionService, getManageNameIDServices, getNameIDFormats, getSingleLogoutServices |
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.common.SignableSAMLObject |
---|
getSignatureReferenceID |
Methods inherited from interface org.opensaml.xml.signature.SignableXMLObject |
---|
getSignature, isSigned, setSignature |
Methods inherited from interface org.opensaml.saml2.common.TimeBoundSAMLObject |
---|
getValidUntil, isValid, setValidUntil |
Methods inherited from interface org.opensaml.saml2.common.CacheableSAMLObject |
---|
getCacheDuration, setCacheDuration |
Methods inherited from interface org.opensaml.xml.validation.ValidatingXMLObject |
---|
deregisterValidator, getValidators, registerValidator, validate |
Methods inherited from interface org.opensaml.xml.XMLObject |
---|
addNamespace, detach, getDOM, getElementQName, getIDIndex, getNamespaceManager, getNamespaces, getNoNamespaceSchemaLocation, getParent, getSchemaLocation, getSchemaType, hasChildren, hasParent, isNil, isNilXSBoolean, releaseChildrenDOM, releaseDOM, releaseParentDOM, removeNamespace, resolveID, resolveIDFromRoot, setDOM, setNil, setNil, setNoNamespaceSchemaLocation, setParent, setSchemaLocation |
Methods inherited from interface org.opensaml.xml.AttributeExtensibleXMLObject |
---|
getUnknownAttributes |
Field Detail |
---|
private XSBooleanValue authnRequestSigned
private XSBooleanValue assertionSigned
private final XMLObjectChildrenList<AssertionConsumerService> assertionConsumerServices
private final XMLObjectChildrenList<AttributeConsumingService> attributeConsumingServices
Constructor Detail |
---|
protected SPSSODescriptorImpl(String namespaceURI, String elementLocalName, String namespacePrefix)
namespaceURI
- the namespace the element is inelementLocalName
- the local name of the XML element this Object representsnamespacePrefix
- the prefix for the given namespaceMethod Detail |
---|
public Boolean isAuthnRequestsSigned()
isAuthnRequestsSigned
in interface SPSSODescriptor
public XSBooleanValue isAuthnRequestsSignedXSBoolean()
isAuthnRequestsSignedXSBoolean
in interface SPSSODescriptor
public void setAuthnRequestsSigned(Boolean newIsSigned)
setAuthnRequestsSigned
in interface SPSSODescriptor
newIsSigned
- true of this service signs requests, false if notpublic void setAuthnRequestsSigned(XSBooleanValue isSigned)
setAuthnRequestsSigned
in interface SPSSODescriptor
isSigned
- true of this service signs requests, false if notpublic Boolean getWantAssertionsSigned()
getWantAssertionsSigned
in interface SPSSODescriptor
public XSBooleanValue getWantAssertionsSignedXSBoolean()
getWantAssertionsSignedXSBoolean
in interface SPSSODescriptor
public void setWantAssertionsSigned(Boolean wantAssestionSigned)
setWantAssertionsSigned
in interface SPSSODescriptor
wantAssestionSigned
- true if this service wants assertions signed, false if notpublic void setWantAssertionsSigned(XSBooleanValue wantAssestionSigned)
setWantAssertionsSigned
in interface SPSSODescriptor
wantAssestionSigned
- true if this service wants assertions signed, false if notpublic List<AssertionConsumerService> getAssertionConsumerServices()
Endpoint
s for this service.
getAssertionConsumerServices
in interface SPSSODescriptor
Endpoint
s for this servicepublic AssertionConsumerService getDefaultAssertionConsumerService()
The selection algorithm used is:
isDefault=true
isDefault
getDefaultAssertionConsumerService
in interface SPSSODescriptor
public List<AttributeConsumingService> getAttributeConsumingServices()
getAttributeConsumingServices
in interface SPSSODescriptor
public AttributeConsumingService getDefaultAttributeConsumingService()
The selection algorithm used is:
isDefault=true
isDefault
getDefaultAttributeConsumingService
in interface SPSSODescriptor
public List<Endpoint> getEndpoints()
getEndpoints
in interface RoleDescriptor
getEndpoints
in class SSODescriptorImpl
public List<Endpoint> getEndpoints(QName type)
getEndpoints
in interface RoleDescriptor
getEndpoints
in class SSODescriptorImpl
type
- the type of endpoints to retrieve
public List<XMLObject> getOrderedChildren()
getOrderedChildren
in interface XMLObject
getOrderedChildren
in class SSODescriptorImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |