

hasRole public boolean hasRole(java.lang.setGssCredential protected void setGssCredential( gssCredential).getGssCredential public getGssCredential() Specified by: getGssCredential in interface TomcatPrincipal Returns: The user's delegated credentials.getUserPrincipal public getUserPrincipal() Specified by: getUserPrincipal in interface TomcatPrincipal Returns: The authenticated Principal to be exposed to applications.getName public getName() Specified by: getName in interface.GetUserPrincipal call if not null if null, this will be returned loginContext - If provided, this will be used to log out the userĪt the appropriate time gssCredential - If provided, the user's delegated credentials source: apache-tomcat-8.5.9/conf/tomcat-users.xml 1 <- NOTE: By default, no user is included in the manager-gui role required to operate the /manager/. configuration Directory with the custom tomcat configuration. Parameters: name - The username of the user represented by this Principal password - Credentials used to authenticate this user roles - List of roles (must be Strings) possessed by this user userPrincipal - the principal to be returned from the request Parameters: catalinahome The apache tomcat install to use. Specified username and password, with the specified role names

Construct a new Principal, associated with the specified Realm, for the
