Class SubjectLocality
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectLocalityType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.SubjectLocality
- All Implemented Interfaces:
SubjectLocality
The
SubjectLocality element specifies the DNS domain name
and IP address for the system entity that performed the authentication.
It exists as part of AuthenticationStatement element.-
Field Summary
FieldsFields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectLocalityType
address, dnsName -
Constructor Summary
ConstructorsConstructorDescriptionConstructor Constructor taking in nothing (assertion schema 25 allows it )SubjectLocality(String address, String dnsName) Constructs an instance ofSubjectLocality. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubjectLocalityTypefromElement(Element element) Constructs an instance ofSubjectLocalityfrom an existing XML block.Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.SubjectLocalityType
getAddress, getDNSName, setAddress, setDNSName
-
Field Details
-
log
-
-
Constructor Details
-
SubjectLocality
public SubjectLocality()Constructor Constructor taking in nothing (assertion schema 25 allows it ) -
SubjectLocality
Constructs an instance ofSubjectLocality.- Parameters:
address- String representing the IP Address of the entity that was authenticated.dnsName- String representing the DNS Address of the entity that was authenticated. As per SAML specification they are both optional, so values can be null.
-
-
Method Details
-
fromElement
Constructs an instance ofSubjectLocalityfrom an existing XML block.- Parameters:
element- Aorg.w3c.dom.Elementrepresenting DOM tree forSubjectLocalityobject.- Throws:
SAMLException- if it could not process the Element properly, implying that there is an error in the sender or in the element definition.
-