Class UserAuthenticationInfo

  • All Implemented Interfaces:
    Serializable, org.apache.shiro.authc.AuthenticationInfo, org.apache.shiro.authc.MergableAuthenticationInfo, org.apache.shiro.authc.SaltedAuthenticationInfo

    public class UserAuthenticationInfo
    extends org.apache.shiro.authc.SimpleAuthenticationInfo
    See Also:
    Serialized Form
    • Constructor Detail

      • UserAuthenticationInfo

        public UserAuthenticationInfo​(Object principal,
                                      Object credentials,
                                      String realmName,
                                      User user)
    • Method Detail

      • getUser

        public User getUser()
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class org.apache.shiro.authc.SimpleAuthenticationInfo
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class org.apache.shiro.authc.SimpleAuthenticationInfo