org.n0pe.asadmin.commands
Class CreateFileUser
java.lang.Object
org.n0pe.asadmin.AbstractAsAdminCmd
org.n0pe.asadmin.commands.CreateFileUser
- All Implemented Interfaces:
- IAsAdminCmd
public class CreateFileUser
- extends AbstractAsAdminCmd
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CREATE_FILE_USER
public static final String CREATE_FILE_USER
- See Also:
- Constant Field Values
GROUPS
public static final String GROUPS
- See Also:
- Constant Field Values
CreateFileUser
public CreateFileUser(String userName)
withPassword
public CreateFileUser withPassword(char[] password)
withGroup
public CreateFileUser withGroup(String group)
needCredentials
public boolean needCredentials()
getActionCommand
public String getActionCommand()
getParameters
public String[] getParameters()
handlePasswordFile
public String handlePasswordFile(String configuredPasswordFile)
throws AsAdminException
- Description copied from interface:
IAsAdminCmd
- Hooks called by AsAdmin to allow commands to impact the configured password file.
- Specified by:
handlePasswordFile in interface IAsAdminCmd- Overrides:
handlePasswordFile in class AbstractAsAdminCmd
- Parameters:
configuredPasswordFile - Configured password file
- Returns:
- Password file, same or changed if needed
- Throws:
AsAdminException
Copyright © 2012. All Rights Reserved.