public abstract class AbstractJavaEEHelper extends Object
Modifier and Type | Field and Description |
---|---|
protected PolicyRegistration |
policyRegistration |
protected SecurityContext |
securityContext |
Constructor and Description |
---|
AbstractJavaEEHelper() |
Modifier and Type | Method and Description |
---|---|
protected void |
audit(String level,
Map<String,Object> contextMap,
Exception e) |
protected void |
authenticationAudit(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) |
protected SecurityContext securityContext
protected PolicyRegistration policyRegistration
public SecurityContext getSecurityContext()
public void setSecurityContext(SecurityContext sc)
public PolicyRegistration getPolicyRegistration()
public void setPolicyRegistration(PolicyRegistration policyRegistration)
public Principal getCallerPrincipal()
protected void authenticationAudit(String level, Map<String,Object> contextMap, Exception e)
Copyright © 2019 JBoss by Red Hat. All rights reserved.