com.sun.xml.wss.saml.assertion.saml11.jaxb10
Class SubjectLocality

java.lang.Object
  extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl
      extended by com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl
          extended by com.sun.xml.wss.saml.assertion.saml11.jaxb10.SubjectLocality
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, com.sun.xml.bind.RIElement, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject, com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable, com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocality, com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocalityType, Element

public class SubjectLocality
extends com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl
implements 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl
com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl.Unmarshaller
 
Field Summary
protected static Logger log
           
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl
version
 
Fields inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl
_DNSAddress, _IPAddress
 
Constructor Summary
SubjectLocality()
          Constructor Constructor taking in nothing (assertion schema 25 allows it )
SubjectLocality(String ipAddress, String dnsAddress)
          Constructs an instance of SubjectLocality.
 
Method Summary
static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl fromElement(Element element)
          Constructs an instance of SubjectLocality from an existing XML block.
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl
____jaxb_ri____getLocalName, ____jaxb_ri____getNamespaceURI, createRawValidator, createUnmarshaller, getPrimaryInterface, serializeAttributes, serializeBody, serializeURIs
 
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl
getDNSAddress, getIPAddress, setDNSAddress, setIPAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocalityType
getDNSAddress, getIPAddress, setDNSAddress, setIPAddress
 

Field Detail

log

protected static final Logger log
Constructor Detail

SubjectLocality

public SubjectLocality()
Constructor Constructor taking in nothing (assertion schema 25 allows it )


SubjectLocality

public SubjectLocality(String ipAddress,
                       String dnsAddress)
Constructs an instance of SubjectLocality.

Parameters:
ipAddress - String representing the IP Address of the entity that was authenticated.
dnsAddress - 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 Detail

fromElement

public static com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl fromElement(Element element)
                                                                                            throws SAMLException
Constructs an instance of SubjectLocality from an existing XML block.

Parameters:
localityElement - A org.w3c.dom.Element representing DOM tree for SubjectLocality object.
Throws:
SAMLException - if it could not process the Element properly, implying that there is an error in the sender or in the element definition.


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.