public abstract class GSSAuthorization extends Authorization
Constructor and Description |
---|
GSSAuthorization() |
Modifier and Type | Method and Description |
---|---|
abstract org.ietf.jgss.GSSName |
getExpectedName(org.ietf.jgss.GSSCredential cred,
java.lang.String host)
Returns expected
GSSName used for authorization purposes. |
authorize, generateAuthorizationException
public abstract org.ietf.jgss.GSSName getExpectedName(org.ietf.jgss.GSSCredential cred, java.lang.String host) throws org.ietf.jgss.GSSException
GSSName
used for authorization purposes.
Can returns null for self authorization.cred
- credentials usedhost
- host address of the peer.org.ietf.jgss.GSSException
- if unable to create the name.