org.jboss.ejb3.security.helpers
Class SecurityHelper

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

public class SecurityHelper
extends Object

Base Class for helpers

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

Field Summary
protected static org.jboss.logging.Logger log
           
protected  org.jboss.security.SecurityContext securityContext
           
 
Constructor Summary
SecurityHelper(org.jboss.security.SecurityContext sc)
           
 
Method Summary
protected  void audit(String level, Map<String,Object> contextMap, Exception e)
           
protected  void authorizationAudit(String level, org.jboss.security.authorization.Resource resource, Exception e)
           
protected  Map<String,Object> getContextMap(Principal principal, String methodName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.jboss.logging.Logger log

securityContext

protected org.jboss.security.SecurityContext securityContext
Constructor Detail

SecurityHelper

public SecurityHelper(org.jboss.security.SecurityContext sc)
Method Detail

authorizationAudit

protected void authorizationAudit(String level,
                                  org.jboss.security.authorization.Resource resource,
                                  Exception e)

audit

protected void audit(String level,
                     Map<String,Object> contextMap,
                     Exception e)

getContextMap

protected Map<String,Object> getContextMap(Principal principal,
                                           String methodName)


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