public class RoleBasedAccessRateController
extends java.lang.Object
| Constructor and Description |
|---|
RoleBasedAccessRateController() |
| Modifier and Type | Method and Description |
|---|---|
AccessInformation |
canAccess(ThrottleContext throttleContext,
java.lang.String consumerKey,
java.lang.String roleID)
To check whether caller can access not not base on the controlling policy
|
public AccessInformation canAccess(ThrottleContext throttleContext, java.lang.String consumerKey, java.lang.String roleID) throws ThrottleException
throttleContext - - current states of throttle - RunTime DataroleID - - Identifier for remote caller - ex: ip or domainnameThrottleExceptionCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.