org.jboss.security.javaee
Class AbstractEJBAuthorizationHelper

java.lang.Object
  extended by org.jboss.security.javaee.AbstractJavaEEHelper
      extended by org.jboss.security.javaee.AbstractEJBAuthorizationHelper

public abstract class AbstractEJBAuthorizationHelper
extends AbstractJavaEEHelper

EJB Authorization Helper

Since:
Apr 17, 2008
Version:
$Revision$
Author:
Anil.Saldhana@redhat.com

Field Summary
 
Fields inherited from class org.jboss.security.javaee.AbstractJavaEEHelper
policyRegistration, securityContext
 
Constructor Summary
AbstractEJBAuthorizationHelper()
           
 
Method Summary
abstract  boolean authorize(String ejbName, Method ejbMethod, Principal ejbPrincipal, String invocationInterfaceString, CodeSource ejbCS, Subject callerSubject, RunAs callerRunAs, String contextID, RoleGroup methodRoles)
           
abstract  boolean isCallerInRole(String roleName, String ejbName, Principal ejbPrincipal, Subject callerSubject, String contextID, Set<SecurityRoleRef> securityRoleRefs)
           
 
Methods inherited from class org.jboss.security.javaee.AbstractJavaEEHelper
audit, authorizationAudit, getCallerPrincipal, getContextMap, getPolicyRegistration, getSecurityContext, setPolicyRegistration, setSecurityContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractEJBAuthorizationHelper

public AbstractEJBAuthorizationHelper()
Method Detail

authorize

public abstract boolean authorize(String ejbName,
                                  Method ejbMethod,
                                  Principal ejbPrincipal,
                                  String invocationInterfaceString,
                                  CodeSource ejbCS,
                                  Subject callerSubject,
                                  RunAs callerRunAs,
                                  String contextID,
                                  RoleGroup methodRoles)

isCallerInRole

public abstract boolean isCallerInRole(String roleName,
                                       String ejbName,
                                       Principal ejbPrincipal,
                                       Subject callerSubject,
                                       String contextID,
                                       Set<SecurityRoleRef> securityRoleRefs)


Copyright © 2008 JBoss Inc.. All Rights Reserved.