public interface AuthorizationRoleRetriever
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAllRoles()
Method used to get all the user roles in order to display in data service design phase.
|
String[] |
getRolesForUser(org.apache.axis2.context.MessageContext msgContext)
Method used to get the roles of the user.
|
void |
init()
This method will be invoked after instantiating the class, So operation which needs to be carried out with
specified properties needs to be done in this method.
|
void |
setProperties(Map<String,String> authenticatorProperties)
To set the properties specific to role retriever, if no properties specified, empty map will be passed
format to specify property "
|
String[] getRolesForUser(org.apache.axis2.context.MessageContext msgContext) throws DataServiceFault
msgContext - to be used in retrieving roles.DataServiceFaultString[] getAllRoles() throws DataServiceFault
DataServiceFaultvoid setProperties(Map<String,String> authenticatorProperties)
authenticatorProperties - void init()
throws DataServiceFault
DataServiceFaultCopyright © 2015 WSO2. All rights reserved.