public class TomcatAuthoriser extends Authoriser
Authoriser used to implement
authorisation against the tomcat-users.xml file.
© Copyright 2010 Sans Pareil Technologies, Inc.
Authoriser.ManagerTaskALL_GROUPS, logger, userMap| Constructor and Description |
|---|
TomcatAuthoriser() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
processAuthorisation(User user,
String[] groups)
Check the authorisation credentials of the specified user against
the list of groups specified.
|
checkAuthorisationprotected boolean processAuthorisation(User user, String[] groups)
processAuthorisation in class Authoriseruser - The user object which is used to verify for group
membership.groups - The groups that are allowed access to the application.true if the user is a member
of any of the groups specified.