org.eclipse.net4j.util.security
Class PasswordCredentialsProvider

java.lang.Object
  extended by org.eclipse.net4j.util.security.PasswordCredentialsProvider
All Implemented Interfaces:
ICredentialsProvider, IPasswordCredentialsProvider
Direct Known Subclasses:
PasswordCredentialsProvider.Delegating

public class PasswordCredentialsProvider
extends Object
implements IPasswordCredentialsProvider


Nested Class Summary
static class PasswordCredentialsProvider.Delegating
           
 
Constructor Summary
PasswordCredentialsProvider()
           
PasswordCredentialsProvider(IPasswordCredentials credentials)
           
PasswordCredentialsProvider(String userID, char[] password)
           
PasswordCredentialsProvider(String userID, String password)
           
 
Method Summary
 IPasswordCredentials getCredentials()
           
 boolean isInteractive()
           
 void setCredentials(IPasswordCredentials credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PasswordCredentialsProvider

public PasswordCredentialsProvider()
Since:
3.1

PasswordCredentialsProvider

public PasswordCredentialsProvider(IPasswordCredentials credentials)

PasswordCredentialsProvider

public PasswordCredentialsProvider(String userID,
                                   char[] password)
Since:
2.0

PasswordCredentialsProvider

public PasswordCredentialsProvider(String userID,
                                   String password)
Since:
2.0
Method Detail

isInteractive

public boolean isInteractive()
Specified by:
isInteractive in interface ICredentialsProvider

getCredentials

public IPasswordCredentials getCredentials()
Specified by:
getCredentials in interface ICredentialsProvider
Specified by:
getCredentials in interface IPasswordCredentialsProvider

setCredentials

public void setCredentials(IPasswordCredentials credentials)
Since:
3.1


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.