public interface PIPAttributeFinder
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the entire cache.
|
void |
clearCache(String[] attributeId)
Clears only the cached attribute by name.
|
Set<String> |
getAttributeValues(URI attributeType,
URI attributeId,
URI category,
String issuer,
org.wso2.balana.ctx.EvaluationCtx context)
Will be fired by CarbonAttributeFinder whenever it finds an attribute supported by this
module.
|
String |
getModuleName()
gets name of this module
|
Set<String> |
getSupportedAttributes()
Returns a
Set of String s that represent the attributeIds handled by
this module, or null if this module doesn't handle any specific attributeIds. |
void |
init(Properties properties)
initializes the Attribute finder module
|
boolean |
overrideDefaultCache()
This is to inform whether to ignore caching of attributes registered for this attribute finer
or not.
|
void init(Properties properties) throws Exception
properties
- properties, that need to initialize the module. These properties can be
defined in pip-config.xml fileException
- throws when initialization is failedString getModuleName()
Set<String> getAttributeValues(URI attributeType, URI attributeId, URI category, String issuer, org.wso2.balana.ctx.EvaluationCtx context) throws Exception
EvaluationCtx
which encapsulates the XACML request.attributeType
- attributeId
- The unique id of the required attribute.category
- Category of the subjectissuer
- The attribute issuer.context
- EvaluationCtx which encapsulates the XACML request.Set
of String
s that represent the attribute
values.Exception
- throws, if failsSet<String> getSupportedAttributes()
Set
of String
s that represent the attributeIds handled by
this module, or null if this module doesn't handle any specific attributeIds. A return value
of null means that this module will not handle any attributes.Set
of String
s that represent the attributeIdsboolean overrideDefaultCache()
void clearCache()
void clearCache(String[] attributeId)
attributeId
- attributeId that needs to be clearedCopyright © 2016 WSO2. All rights reserved.