Class Authentication

  • All Implemented Interfaces:
    java.io.Serializable

    public class Authentication
    extends java.lang.Object
    implements java.io.Serializable
    Container to hold all necessary authentication token, i.e. login and password
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Authentication​(javax.security.auth.Subject subject)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String getName()  
      java.lang.String getPassword()  
      javax.security.auth.Subject getSubject()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns:
        the login name
      • getPassword

        public java.lang.String getPassword()
        Returns:
        the password
      • getSubject

        public javax.security.auth.Subject getSubject()
        Returns:
        the subject