Class UserLoginModule.UserPrincipal

java.lang.Object
bitel.billing.server.admin.bgsecure.bean.UserLoginModule.UserPrincipal
All Implemented Interfaces:
java.security.Principal
Enclosing class:
UserLoginModule

public class UserLoginModule.UserPrincipal
extends java.lang.Object
implements java.security.Principal
  • Constructor Summary

    Constructors
    Constructor Description
    UserPrincipal​(User user)  
  • Method Summary

    Modifier and Type Method Description
    boolean equals​(java.lang.Object obj)  
    java.lang.String getName()  
    User getUser()  
    int hashCode()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface java.security.Principal

    implies
  • Constructor Details

    • UserPrincipal

      public UserPrincipal​(User user)
  • Method Details

    • getName

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

      public boolean equals​(java.lang.Object obj)
      Specified by:
      equals in interface java.security.Principal
      Overrides:
      equals in class java.lang.Object
    • getUser

      public User getUser()
    • hashCode

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

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