CallerPrincipalCallbackpublic class CallerPrincipalCallback extends Object implements CallbackCallback for setting the container's caller (or Remote user) principal.
This callback is intended to be called by a serverAuthModule
during its validateRequest processing. |
Fields Summary |
---|
private Subject | subject | private Principal | principal | private String | name |
Constructors Summary |
---|
public CallerPrincipalCallback(Subject s, Principal p)Create a CallerPrincipalCallback to set the container's
representation of the caller principal
subject = s;
principal = p;
name = null;
| public CallerPrincipalCallback(Subject s, String n)Create a CallerPrincipalCallback to set the container's
representation of the caller principal.
subject = s;
principal = null;
name = n;
|
|