org.wso2.carbon.um.ws.api.stub
Class RemoteAuthorizationManagerServiceStub

java.lang.Object
  extended by org.apache.axis2.client.Stub
      extended by org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceStub
All Implemented Interfaces:
RemoteAuthorizationManagerService

public class RemoteAuthorizationManagerServiceStub
extends org.apache.axis2.client.Stub
implements RemoteAuthorizationManagerService


Field Summary
protected  org.apache.axis2.description.AxisOperation[] _operations
           
 
Fields inherited from class org.apache.axis2.client.Stub
_service, _serviceClient, modules
 
Constructor Summary
RemoteAuthorizationManagerServiceStub()
          Default Constructor
RemoteAuthorizationManagerServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext)
          Default Constructor
RemoteAuthorizationManagerServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint)
          Constructor that takes in a configContext
RemoteAuthorizationManagerServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext, String targetEndpoint, boolean useSeparateListener)
          Constructor that takes in a configContext and useseperate listner
RemoteAuthorizationManagerServiceStub(String targetEndpoint)
          Constructor taking the target endpoint
 
Method Summary
 void authorizeRole(String roleName184, String resourceId185, String action186)
          Auto generated method signature
 void authorizeUser(String userName145, String resourceId146, String action147)
          Auto generated method signature
 void clearAllRoleAuthorization(String roleName138)
          Auto generated method signature
 void clearAllUserAuthorization(String userName123)
          Auto generated method signature
 void clearResourceAuthorizations(String resourceId121)
          Auto generated method signature
 void clearRoleActionOnAllResources(String roleName131, String action132)
          Auto generated method signature
 void clearRoleAuthorization(String roleName134, String resourceId135, String action136)
          Auto generated method signature
 void clearUserAuthorization(String userName154, String resourceId155, String action156)
          Auto generated method signature
 void denyRole(String roleName171, String resourceId172, String action173)
          Auto generated method signature
 void denyUser(String userName180, String resourceId181, String action182)
          Auto generated method signature
 String[] getAllowedRolesForResource(String resourceId149, String action150)
          Auto generated method signature
 String[] getAllowedUIResourcesForUser(String userName163, String permissionRootPath164)
          Auto generated method signature
 String[] getDeniedRolesForResource(String resourceId158, String action159)
          Auto generated method signature
 String[] getExplicitlyAllowedUsersForResource(String resourceId175, String action176)
          Auto generated method signature
 String[] getExplicitlyDeniedUsersForResource(String resourceId140, String action141)
          Auto generated method signature
 boolean isRoleAuthorized(String roleName115, String resourceId116, String action117)
          Auto generated method signature
 boolean isUserAuthorized(String userName125, String resourceId126, String action127)
          Auto generated method signature
 void resetPermissionOnUpdateRole(String roleName168, String newRoleName169)
          Auto generated method signature
 void startgetAllowedRolesForResource(String resourceId149, String action150, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetAllowedUIResourcesForUser(String userName163, String permissionRootPath164, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetDeniedRolesForResource(String resourceId158, String action159, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetExplicitlyAllowedUsersForResource(String resourceId175, String action176, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startgetExplicitlyDeniedUsersForResource(String resourceId140, String action141, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startisRoleAuthorized(String roleName115, String resourceId116, String action117, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 void startisUserAuthorized(String userName125, String resourceId126, String action127, RemoteAuthorizationManagerServiceCallbackHandler callback)
          Auto generated method signature for Asynchronous Invocations
 
Methods inherited from class org.apache.axis2.client.Stub
_getServiceClient, _setServiceClient, addAnonymousOperations, addHeader, addHeader, addHttpHeader, addPropertyToOperationClient, addPropertyToOperationClient, addPropertyToOperationClient, cleanup, createEnvelope, finalize, getFactory, setMustUnderstand, setServiceClientEPR
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_operations

protected org.apache.axis2.description.AxisOperation[] _operations
Constructor Detail

RemoteAuthorizationManagerServiceStub

public RemoteAuthorizationManagerServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext,
                                             String targetEndpoint)
                                      throws org.apache.axis2.AxisFault
Constructor that takes in a configContext

Throws:
org.apache.axis2.AxisFault

RemoteAuthorizationManagerServiceStub

public RemoteAuthorizationManagerServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext,
                                             String targetEndpoint,
                                             boolean useSeparateListener)
                                      throws org.apache.axis2.AxisFault
Constructor that takes in a configContext and useseperate listner

Throws:
org.apache.axis2.AxisFault

RemoteAuthorizationManagerServiceStub

public RemoteAuthorizationManagerServiceStub(org.apache.axis2.context.ConfigurationContext configurationContext)
                                      throws org.apache.axis2.AxisFault
Default Constructor

Throws:
org.apache.axis2.AxisFault

RemoteAuthorizationManagerServiceStub

public RemoteAuthorizationManagerServiceStub()
                                      throws org.apache.axis2.AxisFault
Default Constructor

Throws:
org.apache.axis2.AxisFault

RemoteAuthorizationManagerServiceStub

public RemoteAuthorizationManagerServiceStub(String targetEndpoint)
                                      throws org.apache.axis2.AxisFault
Constructor taking the target endpoint

Throws:
org.apache.axis2.AxisFault
Method Detail

isRoleAuthorized

public boolean isRoleAuthorized(String roleName115,
                                String resourceId116,
                                String action117)
                         throws RemoteException,
                                UserStoreExceptionException
Auto generated method signature

Specified by:
isRoleAuthorized in interface RemoteAuthorizationManagerService
Parameters:
isRoleAuthorized114 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.isRoleAuthorized(java.lang.String, java.lang.String, java.lang.String)

startisRoleAuthorized

public void startisRoleAuthorized(String roleName115,
                                  String resourceId116,
                                  String action117,
                                  RemoteAuthorizationManagerServiceCallbackHandler callback)
                           throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startisRoleAuthorized in interface RemoteAuthorizationManagerService
Parameters:
isRoleAuthorized114 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startisRoleAuthorized(java.lang.String, java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

clearResourceAuthorizations

public void clearResourceAuthorizations(String resourceId121)
                                 throws RemoteException,
                                        UserStoreExceptionException
Auto generated method signature

Specified by:
clearResourceAuthorizations in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

clearAllUserAuthorization

public void clearAllUserAuthorization(String userName123)
                               throws RemoteException,
                                      UserStoreExceptionException
Auto generated method signature

Specified by:
clearAllUserAuthorization in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

isUserAuthorized

public boolean isUserAuthorized(String userName125,
                                String resourceId126,
                                String action127)
                         throws RemoteException,
                                UserStoreExceptionException
Auto generated method signature

Specified by:
isUserAuthorized in interface RemoteAuthorizationManagerService
Parameters:
isUserAuthorized124 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.isUserAuthorized(java.lang.String, java.lang.String, java.lang.String)

startisUserAuthorized

public void startisUserAuthorized(String userName125,
                                  String resourceId126,
                                  String action127,
                                  RemoteAuthorizationManagerServiceCallbackHandler callback)
                           throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startisUserAuthorized in interface RemoteAuthorizationManagerService
Parameters:
isUserAuthorized124 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startisUserAuthorized(java.lang.String, java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

clearRoleActionOnAllResources

public void clearRoleActionOnAllResources(String roleName131,
                                          String action132)
                                   throws RemoteException,
                                          UserStoreExceptionException
Auto generated method signature

Specified by:
clearRoleActionOnAllResources in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

clearRoleAuthorization

public void clearRoleAuthorization(String roleName134,
                                   String resourceId135,
                                   String action136)
                            throws RemoteException,
                                   UserStoreExceptionException
Auto generated method signature

Specified by:
clearRoleAuthorization in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

clearAllRoleAuthorization

public void clearAllRoleAuthorization(String roleName138)
                               throws RemoteException,
                                      UserStoreExceptionException
Auto generated method signature

Specified by:
clearAllRoleAuthorization in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

getExplicitlyDeniedUsersForResource

public String[] getExplicitlyDeniedUsersForResource(String resourceId140,
                                                    String action141)
                                             throws RemoteException,
                                                    UserStoreExceptionException
Auto generated method signature

Specified by:
getExplicitlyDeniedUsersForResource in interface RemoteAuthorizationManagerService
Parameters:
getExplicitlyDeniedUsersForResource139 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.getExplicitlyDeniedUsersForResource(java.lang.String, java.lang.String)

startgetExplicitlyDeniedUsersForResource

public void startgetExplicitlyDeniedUsersForResource(String resourceId140,
                                                     String action141,
                                                     RemoteAuthorizationManagerServiceCallbackHandler callback)
                                              throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetExplicitlyDeniedUsersForResource in interface RemoteAuthorizationManagerService
Parameters:
getExplicitlyDeniedUsersForResource139 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startgetExplicitlyDeniedUsersForResource(java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

authorizeUser

public void authorizeUser(String userName145,
                          String resourceId146,
                          String action147)
                   throws RemoteException,
                          UserStoreExceptionException
Auto generated method signature

Specified by:
authorizeUser in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

getAllowedRolesForResource

public String[] getAllowedRolesForResource(String resourceId149,
                                           String action150)
                                    throws RemoteException,
                                           UserStoreExceptionException
Auto generated method signature

Specified by:
getAllowedRolesForResource in interface RemoteAuthorizationManagerService
Parameters:
getAllowedRolesForResource148 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.getAllowedRolesForResource(java.lang.String, java.lang.String)

startgetAllowedRolesForResource

public void startgetAllowedRolesForResource(String resourceId149,
                                            String action150,
                                            RemoteAuthorizationManagerServiceCallbackHandler callback)
                                     throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetAllowedRolesForResource in interface RemoteAuthorizationManagerService
Parameters:
getAllowedRolesForResource148 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startgetAllowedRolesForResource(java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

clearUserAuthorization

public void clearUserAuthorization(String userName154,
                                   String resourceId155,
                                   String action156)
                            throws RemoteException,
                                   UserStoreExceptionException
Auto generated method signature

Specified by:
clearUserAuthorization in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

getDeniedRolesForResource

public String[] getDeniedRolesForResource(String resourceId158,
                                          String action159)
                                   throws RemoteException,
                                          UserStoreExceptionException
Auto generated method signature

Specified by:
getDeniedRolesForResource in interface RemoteAuthorizationManagerService
Parameters:
getDeniedRolesForResource157 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.getDeniedRolesForResource(java.lang.String, java.lang.String)

startgetDeniedRolesForResource

public void startgetDeniedRolesForResource(String resourceId158,
                                           String action159,
                                           RemoteAuthorizationManagerServiceCallbackHandler callback)
                                    throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetDeniedRolesForResource in interface RemoteAuthorizationManagerService
Parameters:
getDeniedRolesForResource157 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startgetDeniedRolesForResource(java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

getAllowedUIResourcesForUser

public String[] getAllowedUIResourcesForUser(String userName163,
                                             String permissionRootPath164)
                                      throws RemoteException,
                                             UserStoreExceptionException
Auto generated method signature

Specified by:
getAllowedUIResourcesForUser in interface RemoteAuthorizationManagerService
Parameters:
getAllowedUIResourcesForUser162 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.getAllowedUIResourcesForUser(java.lang.String, java.lang.String)

startgetAllowedUIResourcesForUser

public void startgetAllowedUIResourcesForUser(String userName163,
                                              String permissionRootPath164,
                                              RemoteAuthorizationManagerServiceCallbackHandler callback)
                                       throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetAllowedUIResourcesForUser in interface RemoteAuthorizationManagerService
Parameters:
getAllowedUIResourcesForUser162 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startgetAllowedUIResourcesForUser(java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

resetPermissionOnUpdateRole

public void resetPermissionOnUpdateRole(String roleName168,
                                        String newRoleName169)
                                 throws RemoteException,
                                        UserStoreExceptionException
Auto generated method signature

Specified by:
resetPermissionOnUpdateRole in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

denyRole

public void denyRole(String roleName171,
                     String resourceId172,
                     String action173)
              throws RemoteException,
                     UserStoreExceptionException
Auto generated method signature

Specified by:
denyRole in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

getExplicitlyAllowedUsersForResource

public String[] getExplicitlyAllowedUsersForResource(String resourceId175,
                                                     String action176)
                                              throws RemoteException,
                                                     UserStoreExceptionException
Auto generated method signature

Specified by:
getExplicitlyAllowedUsersForResource in interface RemoteAuthorizationManagerService
Parameters:
getExplicitlyAllowedUsersForResource174 -
Throws:
UserStoreExceptionException - :
RemoteException
See Also:
RemoteAuthorizationManagerService.getExplicitlyAllowedUsersForResource(java.lang.String, java.lang.String)

startgetExplicitlyAllowedUsersForResource

public void startgetExplicitlyAllowedUsersForResource(String resourceId175,
                                                      String action176,
                                                      RemoteAuthorizationManagerServiceCallbackHandler callback)
                                               throws RemoteException
Auto generated method signature for Asynchronous Invocations

Specified by:
startgetExplicitlyAllowedUsersForResource in interface RemoteAuthorizationManagerService
Parameters:
getExplicitlyAllowedUsersForResource174 -
Throws:
RemoteException
See Also:
RemoteAuthorizationManagerService.startgetExplicitlyAllowedUsersForResource(java.lang.String, java.lang.String, org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler)

denyUser

public void denyUser(String userName180,
                     String resourceId181,
                     String action182)
              throws RemoteException,
                     UserStoreExceptionException
Auto generated method signature

Specified by:
denyUser in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException

authorizeRole

public void authorizeRole(String roleName184,
                          String resourceId185,
                          String action186)
                   throws RemoteException,
                          UserStoreExceptionException
Auto generated method signature

Specified by:
authorizeRole in interface RemoteAuthorizationManagerService
Throws:
UserStoreExceptionException - :
RemoteException


Copyright © 2015 WSO2. All rights reserved.