org.opensciencegrid.authz.service
Interface GRIDIdentityMappingService
- All Known Implementing Classes:
- GRIDIdentityMappingServiceClient, GRIDIdentityMappingServiceExampleImpl
- public interface GRIDIdentityMappingService
A service that maps a grid credential to a local site identity.
- Author:
- Gabriele Carcassi
mapCredentials
public LocalId mapCredentials(GridId gridID)
- Returns the local identity to be used for the GRID identity.
There are 3 different kind of return decision:
- PERMIT: whenever mapCredentials returns a LocalId object, the
service will allow access. Even if all the properties of the object
are set to null.
- DENY: when the return value is null, access will be denied.
- INDETERMINATE: whenever the method throws an exception, the
service will return an indeterminate decsion.
- Parameters:
gridID
- The GRID identity to map
- Returns:
- A local identity or null, if no local identity could be found.
- Throws:
java.lang.RuntimeException
- If any problem occurs such that the mapping couldn't be performed correctly.
Copyright © 2004-2005 BNL siteAAA. All Rights Reserved.