org.opensciencegrid.authz.service
Class GRIDIdentityMappingServiceExampleImpl

java.lang.Object
  extended byorg.opensciencegrid.authz.service.GRIDIdentityMappingServiceExampleImpl
All Implemented Interfaces:
GRIDIdentityMappingService

public class GRIDIdentityMappingServiceExampleImpl
extends java.lang.Object
implements GRIDIdentityMappingService

An example simple mapping service implementation that maps an incoming request based on /etc/grid-security/grid-mapfile

Author:
G. Carcassi, M. Lorch

Constructor Summary
GRIDIdentityMappingServiceExampleImpl()
           
 
Method Summary
 void init()
          initialization method parses gridmap file gridmap file location may be supplied via system property gridmap.file
 LocalId mapCredentials(GridId gridID)
          the main function called from the outside, please note that this is a test implementation the host name of the service for which a mapping is being requested is not checked, neither is the issuer of the VOMS attribute (fqan) considered
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GRIDIdentityMappingServiceExampleImpl

public GRIDIdentityMappingServiceExampleImpl()
Method Detail

init

public void init()
initialization method parses gridmap file gridmap file location may be supplied via system property gridmap.file


mapCredentials

public LocalId mapCredentials(GridId gridID)
the main function called from the outside, please note that this is a test implementation the host name of the service for which a mapping is being requested is not checked, neither is the issuer of the VOMS attribute (fqan) considered

Specified by:
mapCredentials in interface GRIDIdentityMappingService
Parameters:
gridID - The GRID identity to map
Returns:
A local identity or null, if no local identity could be found.


Copyright © 2004-2005 BNL siteAAA. All Rights Reserved.