Class RADIUSServer


  • public class RADIUSServer
    extends Object
    Represents a remote radius server to which to delegate authentication for the authentication module.
    • Constructor Detail

      • RADIUSServer

        public RADIUSServer​(String host,
                            int port)
        Constructs an instance.
        Parameters:
        host - the remote host.
        port - the remote port.
    • Method Detail

      • getHost

        public String getHost()
        Returns the host.
        Returns:
        the host.
      • getPort

        public int getPort()
        Returns the port.
        Returns:
        the port.
      • equals

        public boolean equals​(Object obj)
        Answers true if the passed in object has the same class and identical values for host and port.
        Overrides:
        equals in class Object
        Parameters:
        obj - an instance of RADIUSServer.
        Returns:
        true if the passed in object has the same class and identical values for host and port.
      • hashCode

        public int hashCode()
        The hashcode of this instance.
        Overrides:
        hashCode in class Object
        Returns:
        the hashcode.
      • toString

        public String toString()
        Generated a string representation of this instance.
        Overrides:
        toString in class Object
        Returns:
        the string representation.