org.apache.axis.security.simple
public class SimpleSecurityProvider extends java.lang.Object implements SecurityProvider
| Modifier and Type | Field and Description |
|---|---|
protected static org.apache.commons.logging.Log |
log |
| 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.
|
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 SecurityProviderCopyright ? 2005 Apache Web Services Project. All Rights Reserved.