当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 server API Documentation 英文版文档
RolesAuthorization (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档
org.jboss.jmx.connector.invoker
Class RolesAuthorization
java.lang.Object
org.jboss.jmx.connector.invoker.RolesAuthorization
- public class RolesAuthorization
- extends Object
A default authorization delegate used by the AuthorizationInterceptor. This
looks for a hard coded JBossAdmin role in the current authenticated Subject.
- Version:
- $Revision: 1.1 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RolesAuthorization
public RolesAuthorization()
setRequiredRoles
public void setRequiredRoles(HashSet requiredRoles)
authorize
public void authorize(Principal caller,
Subject subject,
String objectname,
String opname)
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.