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 org.ietf.jgss.GSSNamegetExpectedName(org.ietf.jgss.GSSCredential cred, java.lang.String host)Returns expectedGSSNameused for authorization purposes.-
Methods inherited from class org.globus.gsi.gssapi.auth.Authorization
authorize, generateAuthorizationException
-
-
-
-
Method Detail
-
getExpectedName
public abstract org.ietf.jgss.GSSName getExpectedName(org.ietf.jgss.GSSCredential cred, java.lang.String host) throws org.ietf.jgss.GSSExceptionReturns expectedGSSNameused for authorization purposes. Can returns null for self authorization.- Parameters:
cred- credentials usedhost- host address of the peer.- Throws:
org.ietf.jgss.GSSException- if unable to create the name.
-
-