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

java.lang.Object
  extended by org.wso2.carbon.um.ws.api.stub.RemoteAuthorizationManagerServiceCallbackHandler

public abstract class RemoteAuthorizationManagerServiceCallbackHandler
extends Object

RemoteAuthorizationManagerServiceCallbackHandler Callback class, Users can extend this class and implement their own receiveResult and receiveError methods.


Field Summary
protected  Object clientData
           
 
Constructor Summary
RemoteAuthorizationManagerServiceCallbackHandler()
          Please use this constructor if you don't want to set any clientData
RemoteAuthorizationManagerServiceCallbackHandler(Object clientData)
          User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.
 
Method Summary
 Object getClientData()
          Get the client data
 void receiveErrorgetAllowedRolesForResource(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllowedRolesForResource operation
 void receiveErrorgetAllowedUIResourcesForUser(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getAllowedUIResourcesForUser operation
 void receiveErrorgetDeniedRolesForResource(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getDeniedRolesForResource operation
 void receiveErrorgetExplicitlyAllowedUsersForResource(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getExplicitlyAllowedUsersForResource operation
 void receiveErrorgetExplicitlyDeniedUsersForResource(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from getExplicitlyDeniedUsersForResource operation
 void receiveErrorisRoleAuthorized(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isRoleAuthorized operation
 void receiveErrorisUserAuthorized(Exception e)
          auto generated Axis2 Error handler override this method for handling error response from isUserAuthorized operation
 void receiveResultgetAllowedRolesForResource(String[] result)
          auto generated Axis2 call back method for getAllowedRolesForResource method override this method for handling normal response from getAllowedRolesForResource operation
 void receiveResultgetAllowedUIResourcesForUser(String[] result)
          auto generated Axis2 call back method for getAllowedUIResourcesForUser method override this method for handling normal response from getAllowedUIResourcesForUser operation
 void receiveResultgetDeniedRolesForResource(String[] result)
          auto generated Axis2 call back method for getDeniedRolesForResource method override this method for handling normal response from getDeniedRolesForResource operation
 void receiveResultgetExplicitlyAllowedUsersForResource(String[] result)
          auto generated Axis2 call back method for getExplicitlyAllowedUsersForResource method override this method for handling normal response from getExplicitlyAllowedUsersForResource operation
 void receiveResultgetExplicitlyDeniedUsersForResource(String[] result)
          auto generated Axis2 call back method for getExplicitlyDeniedUsersForResource method override this method for handling normal response from getExplicitlyDeniedUsersForResource operation
 void receiveResultisRoleAuthorized(boolean result)
          auto generated Axis2 call back method for isRoleAuthorized method override this method for handling normal response from isRoleAuthorized operation
 void receiveResultisUserAuthorized(boolean result)
          auto generated Axis2 call back method for isUserAuthorized method override this method for handling normal response from isUserAuthorized operation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientData

protected Object clientData
Constructor Detail

RemoteAuthorizationManagerServiceCallbackHandler

public RemoteAuthorizationManagerServiceCallbackHandler(Object clientData)
User can pass in any object that needs to be accessed once the NonBlocking Web service call is finished and appropriate method of this CallBack is called.

Parameters:
clientData - Object mechanism by which the user can pass in user data that will be avilable at the time this callback is called.

RemoteAuthorizationManagerServiceCallbackHandler

public RemoteAuthorizationManagerServiceCallbackHandler()
Please use this constructor if you don't want to set any clientData

Method Detail

getClientData

public Object getClientData()
Get the client data


receiveResultisRoleAuthorized

public void receiveResultisRoleAuthorized(boolean result)
auto generated Axis2 call back method for isRoleAuthorized method override this method for handling normal response from isRoleAuthorized operation


receiveErrorisRoleAuthorized

public void receiveErrorisRoleAuthorized(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isRoleAuthorized operation


receiveResultisUserAuthorized

public void receiveResultisUserAuthorized(boolean result)
auto generated Axis2 call back method for isUserAuthorized method override this method for handling normal response from isUserAuthorized operation


receiveErrorisUserAuthorized

public void receiveErrorisUserAuthorized(Exception e)
auto generated Axis2 Error handler override this method for handling error response from isUserAuthorized operation


receiveResultgetExplicitlyDeniedUsersForResource

public void receiveResultgetExplicitlyDeniedUsersForResource(String[] result)
auto generated Axis2 call back method for getExplicitlyDeniedUsersForResource method override this method for handling normal response from getExplicitlyDeniedUsersForResource operation


receiveErrorgetExplicitlyDeniedUsersForResource

public void receiveErrorgetExplicitlyDeniedUsersForResource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getExplicitlyDeniedUsersForResource operation


receiveResultgetAllowedRolesForResource

public void receiveResultgetAllowedRolesForResource(String[] result)
auto generated Axis2 call back method for getAllowedRolesForResource method override this method for handling normal response from getAllowedRolesForResource operation


receiveErrorgetAllowedRolesForResource

public void receiveErrorgetAllowedRolesForResource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllowedRolesForResource operation


receiveResultgetDeniedRolesForResource

public void receiveResultgetDeniedRolesForResource(String[] result)
auto generated Axis2 call back method for getDeniedRolesForResource method override this method for handling normal response from getDeniedRolesForResource operation


receiveErrorgetDeniedRolesForResource

public void receiveErrorgetDeniedRolesForResource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getDeniedRolesForResource operation


receiveResultgetAllowedUIResourcesForUser

public void receiveResultgetAllowedUIResourcesForUser(String[] result)
auto generated Axis2 call back method for getAllowedUIResourcesForUser method override this method for handling normal response from getAllowedUIResourcesForUser operation


receiveErrorgetAllowedUIResourcesForUser

public void receiveErrorgetAllowedUIResourcesForUser(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getAllowedUIResourcesForUser operation


receiveResultgetExplicitlyAllowedUsersForResource

public void receiveResultgetExplicitlyAllowedUsersForResource(String[] result)
auto generated Axis2 call back method for getExplicitlyAllowedUsersForResource method override this method for handling normal response from getExplicitlyAllowedUsersForResource operation


receiveErrorgetExplicitlyAllowedUsersForResource

public void receiveErrorgetExplicitlyAllowedUsersForResource(Exception e)
auto generated Axis2 Error handler override this method for handling error response from getExplicitlyAllowedUsersForResource operation



Copyright © 2015 WSO2. All rights reserved.