Class AbstractLoginModule.JAASUserInfo

  • Enclosing class:
    AbstractLoginModule

    public class AbstractLoginModule.JAASUserInfo
    extends java.lang.Object
    JAASUserInfo This class unites the UserInfo data with jaas concepts such as Subject and Principals
    • Constructor Detail

      • JAASUserInfo

        public JAASUserInfo​(UserInfo u)
    • Method Detail

      • getUserName

        public java.lang.String getUserName()
      • getPrincipal

        public java.security.Principal getPrincipal()
      • setJAASInfo

        public void setJAASInfo​(javax.security.auth.Subject subject)
      • unsetJAASInfo

        public void unsetJAASInfo​(javax.security.auth.Subject subject)
      • checkCredential

        public boolean checkCredential​(java.lang.Object suppliedCredential)
      • fetchRoles

        public void fetchRoles()
                        throws java.lang.Exception
        Throws:
        java.lang.Exception