org.opensciencegrid.authz.common
Class LocalId

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

public class LocalId
extends java.lang.Object

Represents a local user identity, as estabilished by the GRID Identity Mapping Service.

Author:
Gabriele Carcassi and Markus Lorch

Constructor Summary
LocalId()
           
LocalId(java.lang.String userName, java.lang.String groupName, java.lang.String[] supplementalGroupNames, java.lang.String rootPath, java.lang.String relHomePath)
           
 
Method Summary
 java.lang.String getGroupName()
          The primary group for the local identity.
 java.lang.String getRelativeHomePath()
          Getter for property relHomePath.
 java.lang.String getRootPath()
          Getter for property rootPath.
 java.lang.String[] getSupplementalGroupNames()
          Getter for property supplementalGroups.
 java.lang.String getUserName()
          The username for the local identity.
 void setGroupName(java.lang.String g)
          Changes the primary group for the local identity.
 void setRelativeHomePath(java.lang.String relHomePath)
          Setter for property relHomePath.
 void setRootPath(java.lang.String rootPath)
          Setter for property rootPath.
 void setSupplementalGroupNames(java.lang.String[] sg)
          Setter for property supplementalGroups.
 void setUserName(java.lang.String userName)
          Changes the username for the local identity.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LocalId

public LocalId()

LocalId

public LocalId(java.lang.String userName,
               java.lang.String groupName,
               java.lang.String[] supplementalGroupNames,
               java.lang.String rootPath,
               java.lang.String relHomePath)
Method Detail

getUserName

public java.lang.String getUserName()
The username for the local identity.

Returns:
a UNIX username (i.e. "carcassi").

setUserName

public void setUserName(java.lang.String userName)
Changes the username for the local identity.


getGroupName

public java.lang.String getGroupName()
The primary group for the local identity.

Returns:
a UNIX group name (i.e. "atlas").

setGroupName

public void setGroupName(java.lang.String g)
Changes the primary group for the local identity.


getSupplementalGroupNames

public java.lang.String[] getSupplementalGroupNames()
Getter for property supplementalGroups.

Returns:
Value of property supplementalGroups.

setSupplementalGroupNames

public void setSupplementalGroupNames(java.lang.String[] sg)
Setter for property supplementalGroups.


getRootPath

public java.lang.String getRootPath()
Getter for property rootPath.

Returns:
Value of property rootPath.

setRootPath

public void setRootPath(java.lang.String rootPath)
Setter for property rootPath.

Parameters:
rootPath - New value of property rootPath.

getRelativeHomePath

public java.lang.String getRelativeHomePath()
Getter for property relHomePath.

Returns:
Value of property relHomePath.

setRelativeHomePath

public void setRelativeHomePath(java.lang.String relHomePath)
Setter for property relHomePath.

Parameters:
relHomePath - New value of property relHomePath.

toString

public java.lang.String toString()


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