public class MyProxyServerAuthorization extends Authorization
| Constructor and Description |
|---|
MyProxyServerAuthorization() |
| Modifier and Type | Method and Description |
|---|---|
void |
authorize(org.ietf.jgss.GSSContext context,
java.lang.String host)
Performs MyProxy server authorization checks.
|
generateAuthorizationExceptionpublic void authorize(org.ietf.jgss.GSSContext context,
java.lang.String host)
throws AuthorizationException
AuthorizationException if the authorization fails.
Otherwise, the function completes normally.authorize in class Authorizationcontext - the security context.host - host address of the peer.AuthorizationException - if the peer is
not authorized to access/use the resource.Copyright © 2013. All Rights Reserved.