public class SPSSODescriptor extends SSODescriptor
SPSSODescriptor
metadata element.Constructor and Description |
---|
SPSSODescriptor(org.w3c.dom.Document owner)
Creates a new
SPSSODescriptor instance. |
SPSSODescriptor(org.w3c.dom.Element element)
Creates a new
SPSSODescriptor instance from the given Element node. |
SPSSODescriptor(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
SPSSODescriptor instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addAssertionConsumerService(AssertionConsumerService acs)
Adds an assertion consumer service.
|
void |
addAttributeConsumingService(AttributeConsumingService acs)
Adds an attribute consuming service.
|
java.util.List |
getAssertionConsumerServices()
Returns the list of assertion consumer services.
|
java.util.List |
getAttributeConsumingServices()
Returns the list of attribute consuming services.
|
boolean |
getAuthnRequestsSigned()
Returns the AuthnRequestsSigned attribute value.
|
boolean |
getWantAssertionsSigned()
Returns the WantAssertionsSigned attribute value.
|
void |
setAuthnRequestsSigned(boolean signed)
Sets the AuthnRequestsSigned attribute value.
|
void |
setWantAssertionsSigned(boolean signed)
Sets the WantAssertionsSigned attribute value.
|
addArtifactResolutionService, addManageNameIDService, addNameIDFormat, addSingleLogoutService, getArtifactResolutionServices, getManageNameIDServices, getNameIDFormats, getSingleLogoutServices
addContactPerson, addKeyDescriptor, getContactPersons, getErrorURL, getKeyDescriptors, getOrganization, getProtocolSupportEnumeration, setErrorURL, setOrganization, setProtocolSupportEnumeration
addSignature, addSignature, clearSignature, getCacheDuration, getExtensions, getID, getSignature, getValidUntil, isSigned, setCacheDuration, setExtensions, setID, setValidUntil, sign, sign, verify, verify
addNSPrefixAttr, addNSPrefixAttr, addNSPrefixAttrDefault, addNSPrefixAttrDefault, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getChildElementsByTagName, getChildElementsByTagName, getChildElementsByTagNameNS, getChildElementsByTagNameNS, getDefaultNSPrefix, getElement, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setDefaultNSPrefix
appendChild, appendChild, appendTo, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNode, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSystemId, hasAttributes, hasChildNodes, insertBefore, insertBefore, isSupported, normalize, removeChild, removeChild, replaceChild, replaceChild, setNodeValue, setPrefix, setSystemId, toBytesXML, toStringXML
public SPSSODescriptor(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
SPSSODescriptor
instance from the given Element node.element
- An SPSSODescriptor element.org.w3c.dom.DOMException
public SPSSODescriptor(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
SPSSODescriptor
instance from the given Element node.element
- An SPSSODescriptor element.systemId
- The URI string system ID for the SPSSODescriptor
.org.w3c.dom.DOMException
public SPSSODescriptor(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
SPSSODescriptor
instance.owner
- The owner document of the new SPSSODescriptor.org.w3c.dom.DOMException
public void setAuthnRequestsSigned(boolean signed)
signed
- A boolean
value.public boolean getAuthnRequestsSigned()
boolean
indicating if the AuthnRequests are required to be signed.public void setWantAssertionsSigned(boolean signed)
signed
- A boolean
value.public boolean getWantAssertionsSigned()
boolean
indicating if the assertions are required to be signed.public void addAssertionConsumerService(AssertionConsumerService acs)
acs
- A AssertionConsumerService
object.public java.util.List getAssertionConsumerServices()
List
of AssertionConsumerService
objects or null
if none were found.public void addAttributeConsumingService(AttributeConsumingService acs)
acs
- A AttributeConsumingService
object.public java.util.List getAttributeConsumingServices()
List
of AttributeConsumingService
objects or null
if none were found.