Package | Description |
---|---|
edu.ucsb.nceas.metacat.authentication |
Modifier and Type | Method and Description |
---|---|
void |
AuthFile.addGroup(java.lang.String groupName,
java.lang.String description)
Add a group into the file
|
void |
AuthFile.addUser(java.lang.String dn,
java.lang.String[] groups,
java.lang.String plainPass,
java.lang.String hashedPass,
java.lang.String email,
java.lang.String surName,
java.lang.String givenName,
java.lang.String organization)
Add a user to the file
|
void |
AuthFile.addUserToGroup(java.lang.String userName,
java.lang.String group)
Add a user to a group
|
boolean |
AuthFile.authenticate(java.lang.String user,
java.lang.String password) |
void |
AuthFile.modifyPassWithHash(java.lang.String userName,
java.lang.String newHashPassword)
Change the password of the user to the new one which is hashed
|
void |
AuthFile.modifyPassWithPlain(java.lang.String userName,
java.lang.String newPlainPassword)
Change the password of the user to the new one which is plain.
|
void |
AuthFile.removeUserFromGroup(java.lang.String userName,
java.lang.String group)
Remove a user from a group.
|
Constructor and Description |
---|
AuthFile()
Constructor
|
AuthFile(java.lang.String passwordFile) |
Copyright © 2020 Regents of the University of California. All Rights Reserved.