public interface SubjectLocality
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>
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Returns the value of the
Address attribute. |
String |
getDNSName()
Returns the value of the
DNSName attribute. |
boolean |
isMutable()
Returns the mutability of the object.
|
void |
makeImmutable()
Makes the object immutable.
|
void |
setAddress(String value)
Sets the value of the
Address attribute. |
void |
setDNSName(String value)
Sets the value of the
DNSName attribute. |
String |
toXMLString()
Returns a String representation of the element.
|
String |
toXMLString(boolean includeNS,
boolean declareNS)
Returns a String representation of the
SubjectLocality element. |
void makeImmutable()
boolean isMutable()
true
if the object is mutable;
false
otherwise.String getDNSName()
DNSName
attribute.DNSName
attribute.SubjectLocality.setDNSName(String)
void setDNSName(String value) throws SAML2Exception
DNSName
attribute.value
- new value of the DNSName
attribute.SAML2Exception
- if the object is immutable.SubjectLocality.getDNSName()
String getAddress()
Address
attribute.Address
attribute.SubjectLocality.setAddress(String)
void setAddress(String value) throws SAML2Exception
Address
attribute.value
- new value of Address
attribute.SAML2Exception
- if the object is immutable.SubjectLocality.getAddress()
String toXMLString() throws SAML2Exception
SAML2Exception
- if the object does not conform to the schema.String toXMLString(boolean includeNS, boolean declareNS) throws SAML2Exception
SubjectLocality
element.includeNS
- Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS
- Determines whether or not the namespace is declared
within the Element.SAML2Exception
- if the object does not conform to the schema.Copyright © 2010-2018, ForgeRock All Rights Reserved.