Subject that should be used for handing the
GSSAPI based authentication for a specific request.
The authentication handlers will not perform any caching of the returned Subject, the factory implementation can either
return a new Subject for each request or can cache them maybe based on the expiration time of tickets contained within the
Subject.
| Modifier and Type | Method and Description |
|---|---|
| public Subject | Returns: The Subject to use for the specified host name or null if no match possible.- The host name used for this request. hostName)Obtain the Subject to use for the specified host. |
| getSubjectForHost | back to summary |
|---|---|
| public Subject getSubjectForHost(final String hostName) throws GeneralSecurityException Obtain the Subject to use for the specified host. All virtual hosts on a server could use the same Subject or each virtual host could have a different Subject, the implementation of the factory will make that decision. The factory implementation will also decide if there should be a default fallback Subject or if a Subject should only be provided for recognised hosts.
| |