Node Director
Public Member Functions | Protected Member Functions | List of all members
sfi.director.util.KnownCredentials Class Reference
Inheritance diagram for sfi.director.util.KnownCredentials:
sfi.director.util.Credentials

Public Member Functions

 KnownCredentials ()
 KnownCredentials (String principal, String password)
- Public Member Functions inherited from sfi.director.util.Credentials
 Credentials ()
void invalidate ()
void setEntity (String entity)
String getEntity ()
void setPrincipalPrompt (String prompt)
void setPasswordPrompt (String prompt)
void setDefaultPrincipal (String login)
void askUser () throws DirectorException
 prompt the user for a principal and password
String getPrincipal () throws DirectorException
 get the principal ("Login") used for authentication.
String getPassword () throws DirectorException
 get the password used for authentication
boolean isCancelled ()
 determine if authentication has been cancelled

Protected Member Functions

void fileCredentials ()
 avoid reading credentials from the credentials file if caller claims to know the credentials.
- Protected Member Functions inherited from sfi.director.util.Credentials
String findAuth (String principal)

Additional Inherited Members

- Static Public Member Functions inherited from sfi.director.util.Credentials
static void setMethod (Credentials cred)
static void setAppCredentialsFile (String filename)
static Credentials getCredentials (String entity) throws DirectorException
static void addFileCredentials (String fileName, String entity, String principal, String password) throws IOException
 stores credentials in a file within the credentials directory.
static void addRemoteHostPw (String login, String pw) throws DirectorException
 stores credentials for bootstrap invokers in temporary credentials file.
- Static Public Attributes inherited from sfi.director.util.Credentials
static final String FILE_CREDENTIALS = "credentials"
static final String FILE_TMP_CREDENTIALS = "tmpcredentials"
- Protected Attributes inherited from sfi.director.util.Credentials
String principalPrompt = "Login"
String passwordPrompt = "Password"
String principal
String password
String entity
boolean cancelled = false
boolean file_tried = false

Constructor & Destructor Documentation

sfi.director.util.KnownCredentials.KnownCredentials ( )
sfi.director.util.KnownCredentials.KnownCredentials ( String  principal,
String  password 
)

Member Function Documentation

void sfi.director.util.KnownCredentials.fileCredentials ( )
protected

avoid reading credentials from the credentials file if caller claims to know the credentials.

Reimplemented from sfi.director.util.Credentials.


The documentation for this class was generated from the following file: