public class Authenticator
extends java.lang.Object
Headless_Authenticator
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
Class identification name with source code version and date.
|
Constructor and Description |
---|
Authenticator(PIRL.Database.Database database) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate_user(java.lang.String username,
java.lang.String password) |
java.lang.String |
username()
Gets the current value of the username text field.
|
public static final java.lang.String ID
public Authenticator(PIRL.Database.Database database) throws java.security.NoSuchAlgorithmException
java.security.NoSuchAlgorithmException
- if the SHA-1 digest algorithm is not
available.public boolean authenticate_user(java.lang.String username, java.lang.String password)
public java.lang.String username()
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona