org.opensciencegrid.authz.common
Class GridId

java.lang.Object
  extended byorg.opensciencegrid.authz.common.GridId

public class GridId
extends java.lang.Object

Represent a grid identity to be mapped by the GRID Identity Mapping Service. It includes the host on which the identity should be mapped, the user credentials, and the issuer of the VOMS extended attributes.

Author:
Gabriele Carcassi, Markus Lorch augmented 2005-03-10, added toString method for logging

Constructor Summary
GridId()
           
 
Method Summary
 java.lang.String getHostDN()
          Returns the host/service on which the GRID Identity was established.
 java.lang.String getUserDN()
          The DN of the GRID identity (i.e.
 java.lang.String getUserFQAN()
          The FQAN (VOMS attributes) of the GRID identity (i.e.
 java.lang.String getUserFQANIssuer()
          The issuer of the VOMS extended proxy.
 void setHostDN(java.lang.String hostDN)
          Changes the host/service on which the GRID Identity was established.
 void setUserDN(java.lang.String userDN)
          Changes the DN of the GRID identity (i.e.
 void setUserFQAN(java.lang.String userFQAN)
          Changes the FQAN (VOMS attributes) of the GRID identity (i.e.
 void setUserFQANIssuer(java.lang.String userFQANIssuer)
          Changes the issuer of the VOMS extended proxy.
 java.lang.String toString()
          logging method prints all contents to a string *
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridId

public GridId()
Method Detail

getHostDN

public java.lang.String getHostDN()
Returns the host/service on which the GRID Identity was established.

Returns:
Value the DN of the host (i.e. "/DC=org/DC=doegrids/OU=Service/CN=myhost.mysite.com").

setHostDN

public void setHostDN(java.lang.String hostDN)
Changes the host/service on which the GRID Identity was established.


getUserDN

public java.lang.String getUserDN()
The DN of the GRID identity (i.e. the user DN to be mapped).

Returns:
a certificate DN (i.e. "/DC=org/DC=doegrids/OU=People/CN=Gabriele Carcassi 12734").

setUserDN

public void setUserDN(java.lang.String userDN)
Changes the DN of the GRID identity (i.e. the user DN to be mapped).

Parameters:
userDN - a certificate DN (i.e. "/DC=org/DC=doegrids/OU=People/CN=Gabriele Carcassi 12734").

getUserFQAN

public java.lang.String getUserFQAN()
The FQAN (VOMS attributes) of the GRID identity (i.e. the user DN to be mapped).

Returns:
a VOMS FQAN (i.e. "/vo/subgroup/Role=role").

setUserFQAN

public void setUserFQAN(java.lang.String userFQAN)
Changes the FQAN (VOMS attributes) of the GRID identity (i.e. the user DN to be mapped).

Parameters:
userFQAN - a VOMS FQAN (i.e. "/vo/subgroup/Role=role").

getUserFQANIssuer

public java.lang.String getUserFQANIssuer()
The issuer of the VOMS extended proxy.

Returns:
TODO what does it look like?

setUserFQANIssuer

public void setUserFQANIssuer(java.lang.String userFQANIssuer)
Changes the issuer of the VOMS extended proxy.

Parameters:
userFQANIssuer - TODO what does it look like?

toString

public java.lang.String toString()
logging method prints all contents to a string *



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