@Contract
public interface SecureAdminHelper
Modifier and Type | Interface and Description |
---|---|
static class |
SecureAdminHelper.SecureAdminCommandException
An exception indicating a user-correctable error that occurred as
a secure admin command executed.
|
Modifier and Type | Method and Description |
---|---|
String |
getDN(String value,
boolean isAlias)
Returns the DN for the given DN or alias value.
|
boolean |
isAnyAdminUserWithoutPassword()
Reports whether any admin user exists which has an empty password.
|
void |
validateInternalUsernameAndPasswordAlias(String username,
String passwordAlias)
Makes sure that the specified username is an admin user and that the
specified password alias exists.
|
String getDN(String value, boolean isAlias) throws IOException, KeyStoreException
value
- the user-specified valueisAlias
- whether the value is an alias or the DN itselfIOException
KeyStoreException
void validateInternalUsernameAndPasswordAlias(String username, String passwordAlias)
username
- passwordAlias
- Exception
- if eiher the username or the password alias is not validCopyright © 2020. All rights reserved.