The only supported credential format is user name, password,
and (optional) domain name. Existence of an instance of this interface
does not imply the credentials are available. The boolean isAvailable()Returns String getUserName() throws CredentialExceptionReturns the user name associated with this credential. This method
throws char[] getPw() throws CredentialExceptionReturns the clear text password in the form of a character array.
If possible, the caller should avoid converting the array to a string
to allow clearing of the password from memory when it is no longer needed.
This method throws String getDomain() throws CredentialExceptionReturns the domain name in which this credential is valid, if applicable.
Only the extended grid Windows credentials will have a domain name. Other
credentials will return null. This method throws |