org.apache.avalon.repository.impl
Class DefaultAuthenticator
java.lang.Object
java.net.Authenticator
org.apache.avalon.repository.impl.DefaultAuthenticator
- public final class DefaultAuthenticator
- extends Authenticator
Default authenticator that provides support for username password
based authentication in conjunction with the repository proxy settings.
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/08/11 22:37:14 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAuthenticator
public DefaultAuthenticator(String username,
String password)
throws NullPointerException
- Creation of a new simple authenticator.
- Parameters:
username
- the usernamepassword
- a passsword
- Throws:
NullPointerException
- if the supplied username or password is null
getPasswordAuthentication
protected PasswordAuthentication getPasswordAuthentication()
- Returns the password authenticator.
- Returns:
- the password authenticator
Copyright © Apache Software Foundation. All Rights Reserved.