JBoss Security SPI - Aggregator 2.0.4.SP8

org.jboss.security.javaee
Class AbstractJavaEEHelper

java.lang.Object
  extended by org.jboss.security.javaee.AbstractJavaEEHelper
Direct Known Subclasses:
AbstractEJBAuthorizationHelper, AbstractWebAuthorizationHelper, EJBAuthenticationHelper

public abstract class AbstractJavaEEHelper
extends Object

Abstract Java EE Security Helper that does both programmatic as well as regular security

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

Field Summary
protected  PolicyRegistration policyRegistration
           
protected  SecurityContext securityContext
           
 
Constructor Summary
AbstractJavaEEHelper()
           
 
Method Summary
protected  void audit(String level, Map<String,Object> contextMap, Exception e)
           
protected  void authorizationAudit(String level, Resource resource, Exception e)
           
 Principal getCallerPrincipal()
           
protected  Map<String,Object> getContextMap(Principal principal, String methodName)
           
 PolicyRegistration getPolicyRegistration()
           
 SecurityContext getSecurityContext()
           
 void setPolicyRegistration(PolicyRegistration policyRegistration)
           
 void setSecurityContext(SecurityContext sc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

securityContext

protected SecurityContext securityContext

policyRegistration

protected PolicyRegistration policyRegistration
Constructor Detail

AbstractJavaEEHelper

public AbstractJavaEEHelper()
Method Detail

getSecurityContext

public SecurityContext getSecurityContext()

setSecurityContext

public void setSecurityContext(SecurityContext sc)

getPolicyRegistration

public PolicyRegistration getPolicyRegistration()

setPolicyRegistration

public void setPolicyRegistration(PolicyRegistration policyRegistration)

getCallerPrincipal

public Principal getCallerPrincipal()

authorizationAudit

protected void authorizationAudit(String level,
                                  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)

JBoss Security SPI - Aggregator 2.0.4.SP8

Copyright © 2012 JBoss Inc.. All Rights Reserved.