Authorization (Java Globus API)
org.globus.security.auth
Interface Authorization
- All Known Implementing Classes:
- HostAuthorization, IdentityAuthorization, NoAuthorization
- public interface Authorization
Interface for authorization mechanisms.
The authorization is performed once the connection was authenticated.
|
Method Summary |
void |
authorize(java.security.cert.X509Certificate[] chain,
java.net.Socket socket)
Performes authorization checks. |
authorize
public void authorize(java.security.cert.X509Certificate[] chain,
java.net.Socket socket)
throws AuthorizationException
- Performes authorization checks. Throws
AuthorizationException if the authorization fails.
Otherwise, the function completes normally.
- Parameters:
chain - the peer certificate chain.socket - the socket connected to the peer.
- Throws:
AuthorizationException - if the peer is
not authorized to access/use the resource.
AuthorizationException