public class DpAuthorizationContext extends Object
| Constructor and Description | 
|---|
DpAuthorizationContext(DpUserInfo uinfo,
                      String[] groups,
                      int qref,
                      int did,
                      Dp dp)  | 
| Modifier and Type | Method and Description | 
|---|---|
String[] | 
getGroups()
If success is true, the AAA authentication succeeded, and groups is an
 array of length ngroups that gives the groups that will be assigned to
 the user at login. 
 | 
DpUserInfo | 
getUserInfo()
The uinfo contains an instance of DpUserInfo with details about the user
 logging in, specifically user name, password (if used), source IP
 address, context, and protocol. 
 | 
void | 
setAuthorizationTimeout(int timeoutSecs)
The authorization callbacks are expected to complete quickly,
 However in case they send requests to a remote server, and such a
 request needs to be retried, this function can be used to extend the
 timeout for the current callback invocation. 
 | 
public DpAuthorizationContext(DpUserInfo uinfo, String[] groups, int qref, int did, Dp dp)
public DpUserInfo getUserInfo()
public String[] getGroups()
public void setAuthorizationTimeout(int timeoutSecs)
                             throws IOException
timeoutSecs - IOException