public abstract class AbstractNutsAddUserCommand extends NutsWorkspaceCommandBase<NutsAddUserCommand> implements NutsAddUserCommand
| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
groups |
protected String |
login |
protected char[] |
password |
protected Set<String> |
permissions |
protected char[] |
remoteCredentials |
protected String |
remoteIdentity |
protected NutsRepository |
repo |
session, ws| Constructor and Description |
|---|
AbstractNutsAddUserCommand(NutsRepository repo) |
AbstractNutsAddUserCommand(NutsWorkspace ws) |
_LOG, _LOGOP, checkSession, configure, configure, copyFromWorkspaceCommandBase, copySession, getCommandName, getSession, getWorkspace, invalidateResult, setSession, setWsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, copySession, run, setSessiongetSessionconfigure, configureLastprotected String login
protected String remoteIdentity
protected char[] remoteCredentials
protected char[] password
protected NutsRepository repo
public AbstractNutsAddUserCommand(NutsWorkspace ws)
public AbstractNutsAddUserCommand(NutsRepository repo)
public String getUsername()
getUsername in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand setUsername(String username)
setUsername in interface NutsAddUserCommandpublic char[] getCredentials()
getCredentials in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand setCredentials(char[] password)
setCredentials in interface NutsAddUserCommandpublic char[] getRemoteCredentials()
getRemoteCredentials in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand setRemoteCredentials(char[] password)
setRemoteCredentials in interface NutsAddUserCommandpublic String getRemoteIdentity()
getRemoteIdentity in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand setRemoteIdentity(String remoteIdentity)
setRemoteIdentity in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand addPermissions(String... permissions)
addPermissions in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand removePermissions(String... permissions)
removePermissions in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand addPermissions(Collection<String> permissions)
addPermissions in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand removePermissions(Collection<String> permissions)
removePermissions in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand addGroups(String... groups)
addGroups in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand removeGroups(String... groups)
removeGroups in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand addGroup(String group)
addGroup in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand addPermission(String permission)
addPermission in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand addGroups(Collection<String> groups)
addGroups in interface NutsAddUserCommandpublic AbstractNutsAddUserCommand removeGroups(Collection<String> groups)
removeGroups in interface NutsAddUserCommandpublic String[] getPermissions()
getPermissions in interface NutsAddUserCommandpublic String[] getGroups()
getGroups in interface NutsAddUserCommandpublic boolean configureFirst(NutsCommandLine cmdLine)
configureFirst in interface NutsCommandLineConfigurableconfigureFirst in class NutsWorkspaceCommandBase<NutsAddUserCommand>Copyright © 2021 vpc open source initiative. All rights reserved.