public interface RequestContext
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Get the value of the action attribute of the current request.
|
RequestAttribute |
getAttribute(java.lang.String categoryId,
java.lang.String attributeId)
Get the specified attribute from the current request.
|
javax.servlet.http.HttpServletRequest |
getHttpRequest()
Get the HttpServletRequest associated with the current request.
|
java.lang.String |
getJsonContent(java.lang.String categoryId)
Get JSON content from the specified Attributes category.
|
java.lang.String |
getResource()
Get the value of the resource attribute of the current request.
|
java.lang.String |
getSubject()
Get the value of the subject attribute of the current request.
|
java.lang.String getSubject()
java.lang.String getAction()
java.lang.String getResource()
RequestAttribute getAttribute(java.lang.String categoryId, java.lang.String attributeId) throws AttributeRetrievalException
categoryId
- the XACML category URIattributeId
- the XACML attribute IdAttributeRetrievalException
- if an error occurs retrieving
the attributejava.lang.String getJsonContent(java.lang.String categoryId) throws AttributeRetrievalException
categoryId
- the XACML category URIAttributeRetrievalException
- if an error occurs retrieving
the attributejavax.servlet.http.HttpServletRequest getHttpRequest()