Methods Summary |
---|
public java.lang.String | getAuthenticationID()Returns the authentication id to check.
return authenticationID;
|
public java.lang.String | getAuthorizationID()Returns the authorization id to check.
return authorizationID;
|
public java.lang.String | getAuthorizedID()Returns the id of the authorized user.
if (!authorized) {
return null;
}
return (authorizedID == null) ? authorizationID : authorizedID;
|
public boolean | isAuthorized()Determines whether the authentication id is allowed to
act on behalf of the authorization id.
return authorized;
|
public void | setAuthorized(boolean ok)Sets whether the authorization is allowed.
authorized = ok;
|
public void | setAuthorizedID(java.lang.String id)Sets the id of the authorized entity. Called by handler only when the id
is different from getAuthorizationID(). For example, the id
might need to be canonicalized for the environment in which it
will be used.
authorizedID = id;
|