org.jboss.ejb3.security.helpers
Class EJBContextHelper

java.lang.Object
  extended by org.jboss.ejb3.security.helpers.EJBContextHelper

public class EJBContextHelper
extends Object

Helper class with programmatic security methods in EJBContext

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

Constructor Summary
EJBContextHelper()
           
 
Method Summary
 Principal getCallerPrincipal(org.jboss.security.SecurityContext sc, org.jboss.security.RealmMapping rm, org.jboss.ejb3.annotation.SecurityDomain domain)
           
 boolean isCallerInRole(org.jboss.security.SecurityContext sc, org.jboss.ejb3.annotation.SecurityDomain domain, org.jboss.security.RealmMapping rm, org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData eb, String roleName, String ejbName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBContextHelper

public EJBContextHelper()
Method Detail

getCallerPrincipal

public Principal getCallerPrincipal(org.jboss.security.SecurityContext sc,
                                    org.jboss.security.RealmMapping rm,
                                    org.jboss.ejb3.annotation.SecurityDomain domain)

isCallerInRole

public boolean isCallerInRole(org.jboss.security.SecurityContext sc,
                              org.jboss.ejb3.annotation.SecurityDomain domain,
                              org.jboss.security.RealmMapping rm,
                              org.jboss.metadata.ejb.jboss.JBossEnterpriseBeanMetaData eb,
                              String roleName,
                              String ejbName)


Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.