Package com.sun.identity.saml2.assertion
Interface SubjectLocality
- All Superinterfaces:
XmlSerializable
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.
<complexType name="SubjectLocalityType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="Address" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="DNSName" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theAddress
attribute.Returns the value of theDNSName
attribute.boolean
Returns the mutability of the object.void
Makes the object immutable.void
setAddress
(String value) Sets the value of theAddress
attribute.void
setDNSName
(String value) Sets the value of theDNSName
attribute.Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable
toDocumentFragment, toXMLString, toXMLString
-
Method Details
-
makeImmutable
void makeImmutable()Makes the object immutable. -
isMutable
boolean isMutable()Returns the mutability of the object.- Returns:
true
if the object is mutable;false
otherwise.
-
getDNSName
String getDNSName()Returns the value of theDNSName
attribute.- Returns:
- the value of the
DNSName
attribute. - See Also:
-
setDNSName
Sets the value of theDNSName
attribute.- Parameters:
value
- new value of theDNSName
attribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-
getAddress
String getAddress()Returns the value of theAddress
attribute.- Returns:
- the value of the
Address
attribute. - See Also:
-
setAddress
Sets the value of theAddress
attribute.- Parameters:
value
- new value ofAddress
attribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception
- if the object is immutable.- See Also:
-