|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Contract public interface SecureAdminHelper
| Nested Class Summary | |
|---|---|
static class |
SecureAdminHelper.SecureAdminCommandException
An exception indicating a user-correctable error that occurred as a secure admin command executed. |
| Method Summary | |
|---|---|
java.lang.String |
getDN(java.lang.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(java.lang.String username,
java.lang.String passwordAlias)
Makes sure that the specified username is an admin user and that the specified password alias exists. |
| Method Detail |
|---|
java.lang.String getDN(java.lang.String value,
boolean isAlias)
throws java.io.IOException,
java.security.KeyStoreException
value - the user-specified valueisAlias - whether the value is an alias or the DN itself
java.io.IOException
java.security.KeyStoreException
void validateInternalUsernameAndPasswordAlias(java.lang.String username,
java.lang.String passwordAlias)
username - passwordAlias -
SecureAdminHelper.SecureAdminCommandException - if eiher the username or the password alias is not valid
boolean isAnyAdminUserWithoutPassword()
throws java.lang.Exception
SecureAdminHelper.SecureAdminCommandException
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||