Package org.wso2.carbon.data.provider
Interface DataProviderAuthorizer
-
- All Known Implementing Classes:
DefaultDataProviderAuthorizer
public interface DataProviderAuthorizerData provider Authorizer interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanauthorize(DataProviderConfigRoot dataProviderConfigRoot, String username)Prevents unauthorized access to data provider.
-
-
-
Method Detail
-
authorize
boolean authorize(DataProviderConfigRoot dataProviderConfigRoot, String username) throws DataProviderException
Prevents unauthorized access to data provider.- Parameters:
dataProviderConfigRoot- data provider configuration.- Returns:
- authorization results.
- Throws:
DataProviderException- if the authorization failed due to exception.
-
-