Class SubjectLocality

  • All Implemented Interfaces:
    SubjectLocality

    public class SubjectLocality
    extends SubjectLocalityType
    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.
    • 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.