org.jboss.security.authorization.resources
Class WebResource
java.lang.Object
org.jboss.security.authorization.resources.JavaEEResource
org.jboss.security.authorization.resources.WebResource
- All Implemented Interfaces:
- org.jboss.security.authorization.Resource
public class WebResource
- extends JavaEEResource
Represents a Resource for the Web Layer
- Since:
- Jun 18, 2006
- Version:
- $Revision: 62260 $
- Author:
- Anil Saldhana
Field Summary |
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 |
Methods inherited from class org.jboss.security.authorization.resources.JavaEEResource |
getCallerRunAsIdentity, getCallerSubject, getCodeSource, getMap, getPolicyContextID, getPrincipal, getSecurityRoleReferences, setCallerRunAsIdentity, setCallerSubject, setCodeSource, setPolicyContextID, setPrincipal, setSecurityRoleReferences |
WEB_AUDIT_FLAG
public static final 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
- See Also:
- Constant Field Values
WebResource
public WebResource()
- Create a new WebResource.
WebResource
public WebResource(Map<String,Object> map)
- Create a new WebResource.
- Parameters:
map
- Contextual Map
getLayer
public org.jboss.security.authorization.ResourceType getLayer()
- Specified by:
getLayer
in interface org.jboss.security.authorization.Resource
- Specified by:
getLayer
in class JavaEEResource
- See Also:
Resource.getLayer()
getCanonicalRequestURI
public String getCanonicalRequestURI()
setCanonicalRequestURI
public void setCanonicalRequestURI(String canonicalRequestURI)
getServletRequest
public javax.servlet.ServletRequest getServletRequest()
setServletRequest
public void setServletRequest(javax.servlet.ServletRequest servletRequest)
getServletResponse
public javax.servlet.ServletResponse getServletResponse()
setServletResponse
public void setServletResponse(javax.servlet.ServletResponse servletResponse)
getServletName
public String getServletName()
- The Servlet for which the authorization request is for
- Returns:
setServletName
public void setServletName(String servletName)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009 JBoss Inc.. All Rights Reserved.