public class UserStoreAuthorizationProvider extends AbstractAuthorizationProvider
Constructor and Description |
---|
UserStoreAuthorizationProvider() |
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[] |
getUserRoles(org.apache.axis2.context.MessageContext msgContext)
Method used to get the roles of the user.
|
void |
init(Map<String,String> authorizationProps)
To set the properties specific to AuthorizationProvider, and instantiate the object.
|
getUsername
public String[] getUserRoles(org.apache.axis2.context.MessageContext msgContext) throws DataServiceFault
AuthorizationProvider
msgContext
- to be used in retrieving roles.DataServiceFault
public String[] getAllRoles() throws DataServiceFault
AuthorizationProvider
DataServiceFault
public void init(Map<String,String> authorizationProps) throws DataServiceFault
AuthorizationProvider
DataServiceFault
Copyright © 2019 WSO2. All rights reserved.