public class SimpleSecurityProvider extends java.lang.Object implements SecurityProvider
| Constructor and Description |
|---|
SimpleSecurityProvider() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticatedUser |
authenticate(MessageContext msgContext)
Authenticate a user from a username/password pair.
|
boolean |
userMatches(AuthenticatedUser user,
java.lang.String principal)
See if a user matches a principal name.
|
protected static Log log
public AuthenticatedUser authenticate(MessageContext msgContext)
authenticate in interface SecurityProviderusername - the user name to checkpassword - the password to checkpublic boolean userMatches(AuthenticatedUser user, java.lang.String principal)
userMatches in interface SecurityProvider