public abstract class Authorization
extends java.lang.Object
| Constructor and Description |
|---|
Authorization() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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
AuthorizationExceptionCopyright © 2013. All Rights Reserved.