public interface SecurityProvider
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.
|
AuthenticatedUser authenticate(MessageContext msgContext)
msgContext
- the MessageContext containing authentication infoboolean userMatches(AuthenticatedUser user, String principal)
Copyright © The Apache Software Foundation. All Rights Reserved.