This callback is intended to be called by a serverAuthModule during its validateRequest
processing.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private Principal | |
| private Subject |
| Access | Constructor and Description |
|---|---|
| public | CallerPrincipalCallback(Subject
The Subject in which the container will distinguish the caller identity. subject, Principal The Principal that will be distinguished as the caller principal. This value may be null. principal)Create a CallerPrincipalCallback to set the container's representation of the caller principal
The CallbackHandler must use the argument |
| public | CallerPrincipalCallback(Subject
The Subject in which the container will distinguish the caller identity. subject, String The String value that will be returned when name)getName() is called on the principal established
as the caller principal or null.Create a CallerPrincipalCallback to set the container's representation of the caller principal. |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public Principal | |
| public Subject | Returns: The subject.Get the Subject in which the handler will distinguish the caller principal |
| name | back to summary |
|---|---|
| private String name | |
| principal | back to summary |
|---|---|
| private Principal principal | |
| subject | back to summary |
|---|---|
| private Subject subject | |
| CallerPrincipalCallback | back to summary |
|---|---|
| public CallerPrincipalCallback(Subject subject, Principal principal) Create a CallerPrincipalCallback to set the container's representation of the caller principal
The CallbackHandler must use the argument
The handler may perform principal mapping of non-null argument | |
| CallerPrincipalCallback | back to summary |
|---|---|
| public CallerPrincipalCallback(Subject subject, String name) Create a CallerPrincipalCallback to set the container's representation of the caller principal.
The CallbackHandler must use the
The handler may perform principal mapping of non-null values of | |
| getName | back to summary |
|---|---|
| public String getName() Get the caller principal name. When the values returned by this method and the getPrincipal methods are null, the handler must establish the container's representation of the unauthenticated caller principal within the Subject.
| |
| getPrincipal | back to summary |
|---|---|
| public Principal getPrincipal() Get the caller principal. When the values returned by this method and the getName methods are null, the handler must establish the container's representation of the unauthenticated caller principal within the Subject.
| |
| getSubject | back to summary |
|---|---|
| public Subject getSubject() Get the Subject in which the handler will distinguish the caller principal
| |