org.apache.axis.security.servlet
Class ServletSecurityProvider
java.lang.Object
org.apache.axis.security.servlet.ServletSecurityProvider
- SecurityProvider
public class ServletSecurityProvider
extends java.lang.Object
A ServletSecurityProvider, combined with the ServletAuthenticatedUser
class, allows the standard servlet security mechanisms (isUserInRole(),
etc.) to integrate with Axis' access control mechanism.
By utilizing this class (which the AxisServlet can be configured to
do automatically), authentication and role information will come from
your servlet engine.
- Glen Daniels (gdaniels@apache.org)
log
protected static Log log
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.
- userMatches in interface SecurityProvider
- true if the user matches the passed name
Copyright B) 2005 Apache Web Services Project. All Rights Reserved.