|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.sec.authz.jaccplus.internal.AbstractPermissionTransformer
com.ibm.sec.authz.jaccplus.internal.AbstractJACCPermissionTransformer
public abstract class AbstractJACCPermissionTransformer
Abstract class used as the base class for transformer objects that convert JACC Permission types into XACML format.
Field Summary | |
---|---|
protected com.ibm.sec.authz.xacml.config.XACMLPolicyFactory |
_policyFactory
|
protected static java.lang.String |
ATTR_ACTION_ID
|
protected static java.lang.String |
ATTR_ACTION_TRANSPORT
|
protected static java.lang.String |
ATTR_RESOURCE_ID
|
protected static java.lang.String |
ATTR_RESOURCE_TYPE
|
protected static java.lang.String |
ATTR_SUBJECT_ID
|
protected static java.lang.String |
ATTR_SUBJECT_ROLE
|
protected static java.net.URI |
VALUE_HAS_ROLE
|
protected static java.lang.String |
WILDCARD_REGEX_PATTERN
Our regex substitution for the '*' wildcard |
Constructor Summary | |
---|---|
AbstractJACCPermissionTransformer(com.ibm.sec.authz.xacml.config.XACMLPolicyFactory factory)
|
Method Summary | |
---|---|
protected com.ibm.sec.authz.xacml.policy.Action[] |
createActionsForHTTPActions(java.lang.String actionString)
Create a list of XACML Action elements for all the HTTP actions in the passed string. |
protected com.ibm.sec.authz.xacml.policy.Condition |
createCondition(java.lang.String[] excludedUrlPatterns,
java.lang.String[] excludedActions)
Create an XACML Condition element representing the URL pattern matching semantics for the given URL pattern. |
protected com.ibm.sec.authz.xacml.policy.ResourceMatch |
createResourceTypeMatch(java.lang.String resourceType)
Create an XACML ResourceMatch element for the given JACC resource type. |
protected com.ibm.sec.authz.xacml.policy.ResourceMatch |
createURLPatternMatch(java.lang.String urlPattern)
Create a ResourceMatch that checks for the given URL pattern. |
boolean |
supportsEntitlements()
Entitlements are not supported by the JACC permission classes |
Methods inherited from class com.ibm.sec.authz.jaccplus.internal.AbstractPermissionTransformer |
---|
getAttributeValues, getSingleAttributeValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.sec.authz.jaccplus.internal.IPermissionTransformer |
---|
addPermissionToRequest, convertPermissionToRule, createPermission, getConstantValue, getVocabulary |
Field Detail |
---|
protected static final java.lang.String ATTR_SUBJECT_ID
protected static final java.lang.String ATTR_RESOURCE_TYPE
protected static final java.lang.String ATTR_RESOURCE_ID
protected static final java.lang.String ATTR_ACTION_ID
protected static final java.lang.String ATTR_SUBJECT_ROLE
protected static final java.lang.String ATTR_ACTION_TRANSPORT
protected static final java.net.URI VALUE_HAS_ROLE
protected static final java.lang.String WILDCARD_REGEX_PATTERN
protected com.ibm.sec.authz.xacml.config.XACMLPolicyFactory _policyFactory
Constructor Detail |
---|
public AbstractJACCPermissionTransformer(com.ibm.sec.authz.xacml.config.XACMLPolicyFactory factory)
Method Detail |
---|
protected com.ibm.sec.authz.xacml.policy.ResourceMatch createResourceTypeMatch(java.lang.String resourceType) throws com.ibm.sec.authz.xacml.config.XACMLConfigurationException
resourceType
-
com.ibm.sec.authz.xacml.config.XACMLConfigurationException
protected com.ibm.sec.authz.xacml.policy.Condition createCondition(java.lang.String[] excludedUrlPatterns, java.lang.String[] excludedActions) throws com.ibm.sec.authz.xacml.config.XACMLConfigurationException
excludedUrlPatterns
- excludedActions
-
com.ibm.sec.authz.xacml.config.XACMLConfigurationException
protected com.ibm.sec.authz.xacml.policy.ResourceMatch createURLPatternMatch(java.lang.String urlPattern) throws com.ibm.sec.authz.xacml.config.XACMLConfigurationException
urlPattern
-
com.ibm.sec.authz.xacml.config.XACMLConfigurationException
protected com.ibm.sec.authz.xacml.policy.Action[] createActionsForHTTPActions(java.lang.String actionString) throws com.ibm.sec.authz.xacml.config.XACMLConfigurationException
actionString
-
com.ibm.sec.authz.xacml.config.XACMLConfigurationException
public boolean supportsEntitlements()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |