org.opensciencegrid.authz.client
Class GRIDIdentityMappingServiceClient

java.lang.Object
  extended byorg.opensciencegrid.authz.client.SAMLAuthZClientBase
      extended byorg.opensciencegrid.authz.client.GRIDIdentityMappingServiceClient
All Implemented Interfaces:
GRIDIdentityMappingService

public class GRIDIdentityMappingServiceClient
extends SAMLAuthZClientBase
implements GRIDIdentityMappingService

Client for a GRID identity mapping service. It converts the GridId to a SAML request, contact the AuthZ service, and converts the SAML response to a LocalID.

Author:
Markus Lorch, Gabriele Carcassi

Constructor Summary
GRIDIdentityMappingServiceClient(java.net.URL serviceLocation)
           
 
Method Summary
 LocalId mapCredentials(GridId gridID)
          returns null if no mapping could be retrieved
 
Methods inherited from class org.opensciencegrid.authz.client.SAMLAuthZClientBase
createFQANEvidenceFromGSS, createFQANEvidenceFromString, createMappingActions, getSAMLSubjectFromGSS, getSAMLSubjectFromString, processAuthzStmt, queryAuthZService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GRIDIdentityMappingServiceClient

public GRIDIdentityMappingServiceClient(java.net.URL serviceLocation)
                                 throws javax.xml.rpc.ServiceException
Method Detail

mapCredentials

public LocalId mapCredentials(GridId gridID)
returns null if no mapping could be retrieved

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.