当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档
SimpleSecurityProvider (JAXRPC API) - JBoss 4.0.1 sp1 jaxrpc API Documentation 英文版文档
org.apache.axis.security.simple
Class SimpleSecurityProvider
java.lang.Object
org.apache.axis.security.simple.SimpleSecurityProvider
- All Implemented Interfaces:
- SecurityProvider
- public class SimpleSecurityProvider
- extends Object
- implements SecurityProvider
SimpleSecurityProvider
- Author:
- Glen Daniels (gdaniels@macromedia.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSecurityProvider
public SimpleSecurityProvider()
authenticate
public AuthenticatedUser authenticate(MessageContext msgContext)
- Authenticate a user from a username/password pair.
- Specified by:
authenticate
in interface SecurityProvider
- Parameters:
msgContext
- the MessageContext containing authentication info
- Returns:
- an AuthenticatedUser or null
userMatches
public boolean userMatches(AuthenticatedUser user,
String principal)
- See if a user matches a principal name. The name might be a user
or a group.
- Specified by:
userMatches
in interface SecurityProvider
- Returns:
- true if the user matches the passed name
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.