org.jboss.security.javaee
Class AbstractJavaEEHelper
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
securityContext
protected SecurityContext securityContext
policyRegistration
protected PolicyRegistration policyRegistration
AbstractJavaEEHelper
public AbstractJavaEEHelper()
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)
Copyright © 2009 JBoss Inc.. All Rights Reserved.