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.
|
generateAuthorizationException
public void authorize(GSSContext context, String host) throws AuthorizationException
AuthorizationException
if the authorization fails.
Otherwise, the function completes normally.authorize
in class Authorization
context
- the security context.host
- host address of the peer.AuthorizationException
- if the peer is
not authorized to access/use the resource.Copyright © 2016. All rights reserved.