public class MyProxyServerAuthorization extends Authorization
| Constructor and Description |
|---|
MyProxyServerAuthorization() |
| Modifier and Type | Method and Description |
|---|---|
void |
authorize(GSSContext context,
String host)
Performs MyProxy server authorization checks.
|
generateAuthorizationExceptionpublic void authorize(GSSContext context, 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 © 2015. All rights reserved.