public class IDPSSODescriptor extends SSODescriptor
IDPSSODescriptor
metadata element.Constructor and Description |
---|
IDPSSODescriptor(org.w3c.dom.Document owner)
Creates a new
IDPSSODescriptor instance. |
IDPSSODescriptor(org.w3c.dom.Element element)
Creates a new
IDPSSODescriptor instance from the given Element node. |
IDPSSODescriptor(org.w3c.dom.Element element, java.lang.String systemId)
Creates a new
IDPSSODescriptor instance from the given Element node. |
Modifier and Type | Method and Description |
---|---|
void |
addAssertionIDRequestService(AssertionIDRequestService nms)
Adds a AssertionIDRequest service.
|
void |
addAttributeProfile(AttributeProfile ap)
Adds an attribute profile.
|
void |
addNameIDMappingService(NameIDMappingService nms)
Adds a NameIDMapping service.
|
void |
addSAMLAttribute(Attribute attr)
Adds an attribute.
|
void |
addSingleSignOnService(SingleSignOnService sso)
Adds a SSO service.
|
java.util.List |
getAssertionIDRequestServices()
Returns the list of AssertionIDRequest services.
|
java.util.List |
getAttributeProfiles()
Returns the list of attribute profiles.
|
java.util.List |
getNameIDMappingServices()
Returns the list of NameIDMapping services.
|
java.util.List |
getSAMLAttributes()
Returns the list of attributes.
|
java.util.List |
getSingleSignOnServices()
Returns the list of SSO services.
|
boolean |
getWantAssertionsSigned()
Returns the WantAssertionsSigned 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 IDPSSODescriptor(org.w3c.dom.Element element) throws org.w3c.dom.DOMException
IDPSSODescriptor
instance from the given Element node.element
- An IDPSSODescriptor element.org.w3c.dom.DOMException
public IDPSSODescriptor(org.w3c.dom.Element element, java.lang.String systemId) throws org.w3c.dom.DOMException
IDPSSODescriptor
instance from the given Element node.element
- An IDPSSODescriptor element.systemId
- The URI string system ID for the IDPSSODescriptor
.org.w3c.dom.DOMException
public IDPSSODescriptor(org.w3c.dom.Document owner) throws org.w3c.dom.DOMException
IDPSSODescriptor
instance.owner
- The owner document of the new IDPSSODescriptor.org.w3c.dom.DOMException
public void setWantAssertionsSigned(boolean signed)
signed
- A boolean
value.public boolean getWantAssertionsSigned()
boolean
indicating if the assertions are required to be signed.public void addSingleSignOnService(SingleSignOnService sso)
sso
- A SingleSignOnService
object.public java.util.List getSingleSignOnServices()
List
of SingleSignOnService
objects or null
if none were found.public void addNameIDMappingService(NameIDMappingService nms)
nms
- A NameIDMappingService
object.public java.util.List getNameIDMappingServices()
List
of NameIDMappingService
objects or null
if none were found.public void addAssertionIDRequestService(AssertionIDRequestService nms)
nms
- A AssertionIDRequestService
object.public java.util.List getAssertionIDRequestServices()
List
of AssertionIDRequestService
objects or null
if none were found.public void addAttributeProfile(AttributeProfile ap)
ap
- A AttributeProfile
object.public java.util.List getAttributeProfiles()
List
of AttributeProfile
objects or null
if none were found.public void addSAMLAttribute(Attribute attr)
attr
- A Attribute
object.public java.util.List getSAMLAttributes()
List
of Attribute
objects or null
if none were found.