public class DefaultAttributeFinder extends AbstractPIPAttributeFinder
tenantId
Constructor and Description |
---|
DefaultAttributeFinder() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAttributeValues(String subjectId,
String resourceId,
String actionId,
String environmentId,
String attributeId,
String issuer)
This is the overloaded simplify version of the getAttributeValues() method.
|
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)
Loads all the claims defined under http://wso2.org/claims dialect.
|
clearCache, clearCache, getAttributeValues, overrideDefaultCache
public void init(Properties properties) throws Exception
properties
- properties, that need to initialize the module. These properties can be
defined in pip-config.xml fileException
public String getModuleName()
PIPAttributeFinder
public Set<String> getAttributeValues(String subjectId, String resourceId, String actionId, String environmentId, String attributeId, String issuer) throws Exception
AbstractPIPAttributeFinder
AbstractPIPAttributeFinder
can implement this method and get use of the default
implementation of the getAttributeValues() method which has been implemented within
AbstractPIPAttributeFinder
classgetAttributeValues
in class AbstractPIPAttributeFinder
subjectId
- Name of the subject the returned attributes should apply to.resourceId
- The name of the resource the subject is trying to access.actionId
- The name of the action the subject is trying to execute on resourceenvironmentId
- The name of the environment the subject is trying to access the resourceattributeId
- The unique id of the required attribute.issuer
- The attribute issuer.Set
of String
s that represent the attribute
values.Exception
- throws if failspublic Set<String> getSupportedAttributes()
PIPAttributeFinder
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 attributeIdsCopyright © 2016 WSO2. All rights reserved.