|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object gov.bnl.gums.account.AccountMapper gov.bnl.gums.account.AccountPoolMapper
public class AccountPoolMapper
Provides the mapping by assigning user accounts from a pool provided by the AccountPoolMapperDB.
The accounts are mapped when the mapUser function is called for that particular user. Accounts are never deleted from the pool
Constructor Summary | |
---|---|
AccountPoolMapper()
|
|
AccountPoolMapper(Configuration configuration)
|
|
AccountPoolMapper(Configuration configuration,
java.lang.String name)
|
Method Summary | |
---|---|
AccountMapper |
clone(Configuration configuration)
Create a clone of itself |
java.lang.String |
getAccountPool()
|
java.lang.String |
getAccountPoolRoot()
|
java.lang.String |
getAssignments()
|
AccountPoolMapperDB |
getDB()
|
java.lang.String |
getPersistenceFactory()
|
java.lang.String |
getType()
|
static java.lang.String |
getTypeStatic()
|
java.lang.String |
mapUser(java.lang.String userDN,
boolean createIfDoesNotExist)
Maps a grid identity to a local account name. |
void |
setAccountPool(java.lang.String accountPool)
|
void |
setPersistenceFactory(java.lang.String persistenceFactory)
|
java.lang.String |
toString(java.lang.String bgColor)
Get string representation of this object for displaying in the diagnostic summary web page |
java.lang.String |
toXML()
Get XML representation of this object for writing to gums.config |
Methods inherited from class gov.bnl.gums.account.AccountMapper |
---|
getConfiguration, getDescription, getName, setConfiguration, setDescription, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AccountPoolMapper()
public AccountPoolMapper(Configuration configuration)
public AccountPoolMapper(Configuration configuration, java.lang.String name)
Method Detail |
---|
public static java.lang.String getTypeStatic()
public AccountMapper clone(Configuration configuration)
AccountMapper
clone
in class AccountMapper
public java.lang.String getAccountPool()
public java.lang.String getAccountPoolRoot()
public AccountPoolMapperDB getDB()
public java.lang.String getAssignments()
public java.lang.String getPersistenceFactory()
public java.lang.String getType()
getType
in class AccountMapper
public java.lang.String mapUser(java.lang.String userDN, boolean createIfDoesNotExist)
AccountMapper
mapUser
in class AccountMapper
userDN
- the certificate DN (i.e. '/DC=org/DC=doegrids/OU=People/CN=John Smith').
public void setAccountPool(java.lang.String accountPool)
public void setPersistenceFactory(java.lang.String persistenceFactory)
public java.lang.String toString(java.lang.String bgColor)
AccountMapper
toString
in class AccountMapper
bgColor
- back ground color
public java.lang.String toXML()
AccountMapper
toXML
in class AccountMapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |