Class AbstractLoginService.UserPrincipal

    • Constructor Summary

      Constructors 
      Constructor Description
      UserPrincipal​(java.lang.String name, Credential credential)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean authenticate​(java.lang.Object credentials)  
      boolean authenticate​(Credential c)  
      java.lang.String getName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.security.Principal

        equals, hashCode, implies
    • Constructor Detail

      • UserPrincipal

        public UserPrincipal​(java.lang.String name,
                             Credential credential)
    • Method Detail

      • authenticate

        public boolean authenticate​(java.lang.Object credentials)
      • authenticate

        public boolean authenticate​(Credential c)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in interface java.security.Principal
      • toString

        public java.lang.String toString()
        Specified by:
        toString in interface java.security.Principal
        Overrides:
        toString in class java.lang.Object