org.jboss.ejb3.security.helpers
Class EJBContextHelper
java.lang.Object
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
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 |
EJBContextHelper
public EJBContextHelper()
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.