org.jboss.jmx.connector.invoker
Class RolesAuthorization

java.lang.Object
  extended by org.jboss.jmx.connector.invoker.RolesAuthorization
Direct Known Subclasses:
ExternalizableRolesAuthorization

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: 57209 $
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.