站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended byorg.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

Constructor Summary
RolesAuthorization()
           
 
Method Summary
 void authorize(Principal caller, Subject subject, String objectname, String opname)
           
 void setRequiredRoles(HashSet requiredRoles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolesAuthorization

public RolesAuthorization()
Method Detail

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.