public interface UserAuthenticator
This is an interface for objects classes that implement servlet security features.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
CVS class version string
|
| Modifier and Type | Method and Description |
|---|---|
java.security.Principal |
getUserPrincipal(DynamoHttpServletRequest pRequest)
Returns a
java.security.Principal object containing the name of the current authenticated user. |
boolean |
isUserInRole(java.lang.String pRole,
DynamoHttpServletRequest pRequest)
Returns a boolean indicating whether the authenticated user is included in the specified logical "role".
|
static final java.lang.String CLASS_VERSION
java.security.Principal getUserPrincipal(DynamoHttpServletRequest pRequest)
java.security.Principal object containing the name of the current authenticated user.
If the user has not been authenticated, the method returns null.boolean isUserInRole(java.lang.String pRole,
DynamoHttpServletRequest pRequest)