public class ServletSecurityProvider extends Object implements SecurityProvider
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ServletSecurityProvider() |
Modifier and Type | Method and Description |
---|---|
AuthenticatedUser |
authenticate(MessageContext msgContext)
Authenticate a user from a username/password pair.
|
boolean |
userMatches(AuthenticatedUser user,
String principal)
See if a user matches a principal name.
|
public AuthenticatedUser authenticate(MessageContext msgContext)
authenticate
in interface SecurityProvider
username
- the user name to checkpassword
- the password to checkpublic boolean userMatches(AuthenticatedUser user, String principal)
userMatches
in interface SecurityProvider
Copyright © The Apache Software Foundation. All Rights Reserved.