Class PKIPrincipal

  • All Implemented Interfaces:
    java.io.Serializable, java.security.Principal, org.apache.catalina.TomcatPrincipal

    public class PKIPrincipal
    extends org.apache.catalina.realm.GenericPrincipal
    Author:
    Endi S. Dewata
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.catalina.realm.GenericPrincipal

        gssCredential, loginContext, name, password, roles, userPrincipal
    • Constructor Summary

      Constructors 
      Constructor Description
      PKIPrincipal​(IUser user, java.lang.String password, java.util.List<java.lang.String> roles, com.netscape.certsrv.authentication.IAuthToken authToken)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.netscape.certsrv.authentication.IAuthToken getAuthToken()  
      IUser getUser()  
      • Methods inherited from class org.apache.catalina.realm.GenericPrincipal

        getGssCredential, getName, getPassword, getRoles, getUserPrincipal, hasRole, logout, setGssCredential, 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

      • PKIPrincipal

        public PKIPrincipal​(IUser user,
                            java.lang.String password,
                            java.util.List<java.lang.String> roles,
                            com.netscape.certsrv.authentication.IAuthToken authToken)
    • Method Detail

      • getUser

        public IUser getUser()
      • getAuthToken

        public com.netscape.certsrv.authentication.IAuthToken getAuthToken()