public class WebResource extends JavaEEResource
Modifier and Type | Field and Description |
---|---|
static String |
WEB_AUDIT_FLAG
System Property setting to configure the web audit
off = turn it off
headers = audit the headers
cookies = audit the cookie
parameters = audit the parameters
attributes = audit the attributes
headers,cookies,parameters = audit the headers,cookie and parameters
headers,cookies = audit the headers and cookies
and so on
Note: If this flag is not set in the system property, then we get no
audit data for the web request
|
callerRunAsIdentity, callerSubject, codeSource, map, policyContextID, principal, securityRoleReferences
Constructor and Description |
---|
WebResource()
Create a new WebResource.
|
WebResource(Map<String,Object> map)
Create a new WebResource.
|
Modifier and Type | Method and Description |
---|---|
String |
getCanonicalRequestURI() |
ResourceType |
getLayer() |
String |
getServletName()
The Servlet for which the authorization request is for
|
ServletRequest |
getServletRequest() |
ServletResponse |
getServletResponse() |
void |
setCanonicalRequestURI(String canonicalRequestURI) |
void |
setServletName(String servletName) |
void |
setServletRequest(ServletRequest servletRequest) |
void |
setServletResponse(ServletResponse servletResponse) |
String |
toString() |
add, getCallerRunAsIdentity, getCallerSubject, getCodeSource, getMap, getPolicyContextID, getPrincipal, getSecurityRoleReferences, setCallerRunAsIdentity, setCallerSubject, setCodeSource, setPolicyContextID, setPrincipal, setSecurityRoleReferences
public static final String WEB_AUDIT_FLAG
public ResourceType getLayer()
getLayer
in interface Resource
getLayer
in class JavaEEResource
Resource.getLayer()
public String getCanonicalRequestURI()
public void setCanonicalRequestURI(String canonicalRequestURI)
public ServletRequest getServletRequest()
public void setServletRequest(ServletRequest servletRequest)
public ServletResponse getServletResponse()
public void setServletResponse(ServletResponse servletResponse)
public String getServletName()
public void setServletName(String servletName)
Copyright © 2017 JBoss by Red Hat. All rights reserved.