|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.globus.gsi.gssapi.auth.Authorization
public abstract class Authorization
Interface for authorization mechanisms. The authorization is performed once the connection was authenticated.
Constructor Summary | |
---|---|
Authorization()
|
Method Summary | |
---|---|
abstract void |
authorize(org.ietf.jgss.GSSContext context,
java.lang.String host)
Performes authorization checks. |
protected void |
generateAuthorizationException(org.ietf.jgss.GSSName expected,
org.ietf.jgss.GSSName target)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Authorization()
Method Detail |
---|
public abstract void authorize(org.ietf.jgss.GSSContext context, java.lang.String host) throws AuthorizationException
AuthorizationException
if the authorization fails.
Otherwise, the function completes normally.
context
- the securit contexthost
- host address of the peer.
AuthorizationException
- if the peer is
not authorized to access/use the resource.protected void generateAuthorizationException(org.ietf.jgss.GSSName expected, org.ietf.jgss.GSSName target) throws AuthorizationException
AuthorizationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |