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