Package org.globus.gsi.gssapi.auth
Class GSSAuthorization
- java.lang.Object
-
- org.globus.gsi.gssapi.auth.Authorization
-
- org.globus.gsi.gssapi.auth.GSSAuthorization
-
- Direct Known Subclasses:
HostAuthorization
,HostOrSelfAuthorization
,IdentityAuthorization
,NoAuthorization
,SelfAuthorization
public abstract class GSSAuthorization extends Authorization
GSSAPI client authorization.
-
-
Constructor Summary
Constructors Constructor Description GSSAuthorization()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract GSSName
getExpectedName(GSSCredential cred, String host)
Returns expectedGSSName
used for authorization purposes.-
Methods inherited from class org.globus.gsi.gssapi.auth.Authorization
authorize, generateAuthorizationException
-
-
-
-
Method Detail
-
getExpectedName
public abstract GSSName getExpectedName(GSSCredential cred, String host) throws GSSException
Returns expectedGSSName
used for authorization purposes. Can returns null for self authorization.- Parameters:
cred
- credentials usedhost
- host address of the peer.- Throws:
GSSException
- if unable to create the name.
-
-