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 theAddressattribute.Returns the value of theDNSNameattribute.booleanReturns the mutability of the object.voidMakes the object immutable.voidsetAddress(String value) Sets the value of theAddressattribute.voidsetDNSName(String value) Sets the value of theDNSNameattribute.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:
trueif the object is mutable;falseotherwise.
-
getDNSName
String getDNSName()Returns the value of theDNSNameattribute.- Returns:
- the value of the
DNSNameattribute. - See Also:
-
setDNSName
Sets the value of theDNSNameattribute.- Parameters:
value- new value of theDNSNameattribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable.- See Also:
-
getAddress
String getAddress()Returns the value of theAddressattribute.- Returns:
- the value of the
Addressattribute. - See Also:
-
setAddress
Sets the value of theAddressattribute.- Parameters:
value- new value ofAddressattribute.- Throws:
com.sun.identity.saml2.common.SAML2Exception- if the object is immutable.- See Also:
-