public class AuthenticateEngine extends Engine
Modifier and Type | Field and Description |
---|---|
private java.util.Set |
mExecPools
The Set of pools that need to be authenticated against.
|
mBag, mLogger, mLogMsg, mOutputPool, mPoolFile, mPOptions, mProps, mRLIUrl, mSiteStore, mTCFile, mTCHandle, mTCMode, REGISTRATION_UNIVERSE, TRANSFER_UNIVERSE
Constructor and Description |
---|
AuthenticateEngine(PegasusBag bag,
java.util.Set pools)
The overloaded constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set |
authenticate()
It returns a set of pools against which the user can authenticate to.
|
static void |
main(java.lang.String[] args)
The main testing method.
|
private void |
purgePools()
It removies from the list of pools the pool that was not authenticated
against.
|
addVector, appendArrayList, complainForHeadNodeURLPrefix, complainForHeadNodeURLPrefix, loadProperties, printVector, stringInList, stringInPegVector, stringInVector, vectorToString
private java.util.Set mExecPools
public AuthenticateEngine(PegasusBag bag, java.util.Set pools)
bag
- the PegasusBag
to be used.pools
- The set of pools against which you want to authenticate the
user.public java.util.Set authenticate()
private void purgePools()
public static void main(java.lang.String[] args)