public interface GSSAPIServerSubjectFactory
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 | Description |
---|---|---|
javax.security.auth.Subject |
getSubjectForHost(java.lang.String hostName) |
Obtain the Subject to use for the specified host.
|
javax.security.auth.Subject getSubjectForHost(java.lang.String hostName) throws java.security.GeneralSecurityException
hostName
- - The host name used for this request.java.security.GeneralSecurityException
- if there is a security failure obtaining the Subject
Copyright © 2018. All rights reserved.