Class CreateUserAdminCommand
- java.lang.Object
-
- de.caluga.morphium.driver.commands.MongoCommand<T>
-
- de.caluga.morphium.driver.commands.AdminMongoCommand<CreateUserAdminCommand>
-
- de.caluga.morphium.driver.commands.auth.CreateUserAdminCommand
-
- All Implemented Interfaces:
SingleResultCommand
public class CreateUserAdminCommand extends AdminMongoCommand<CreateUserAdminCommand>
-
-
Constructor Summary
Constructors Constructor Description CreateUserAdminCommand(MongoConnection d)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<de.caluga.morphium.driver.commands.auth.CreateUserAdminCommand.AuthenticationRestrictions>getAuthenticationRestrictions()StringgetCommandName()Map<String,Object>getCustomData()List<String>getMechanisms()StringgetPwd()List<Map<String,String>>getRoles()StringgetUserName()booleanisDigestPassword()CreateUserAdminCommandsetAuthenticationRestrictions(List<de.caluga.morphium.driver.commands.auth.CreateUserAdminCommand.AuthenticationRestrictions> authenticationRestrictions)CreateUserAdminCommandsetCustomData(Map<String,Object> customData)CreateUserAdminCommandsetDigestPassword(boolean digestPassword)CreateUserAdminCommandsetMechanisms(List<String> mechanisms)CreateUserAdminCommandsetPwd(String pwd)CreateUserAdminCommandsetRoles(List<Map<String,String>> roles)CreateUserAdminCommandsetUserName(String userName)-
Methods inherited from class de.caluga.morphium.driver.commands.AdminMongoCommand
asMap, execute, executeAsync
-
Methods inherited from class de.caluga.morphium.driver.commands.MongoCommand
clear, fromMap, getColl, getComment, getConnection, getDb, getMetaData, releaseConnection, setColl, setComment, setConnection, setDb, setMetaData, setMetaData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.caluga.morphium.driver.commands.SingleResultCommand
getMetaData
-
-
-
-
Constructor Detail
-
CreateUserAdminCommand
public CreateUserAdminCommand(MongoConnection d)
-
-
Method Detail
-
getCommandName
public String getCommandName()
- Specified by:
getCommandNamein classMongoCommand<CreateUserAdminCommand>
-
getUserName
public String getUserName()
-
setUserName
public CreateUserAdminCommand setUserName(String userName)
-
getPwd
public String getPwd()
-
setPwd
public CreateUserAdminCommand setPwd(String pwd)
-
setCustomData
public CreateUserAdminCommand setCustomData(Map<String,Object> customData)
-
setRoles
public CreateUserAdminCommand setRoles(List<Map<String,String>> roles)
-
getAuthenticationRestrictions
public List<de.caluga.morphium.driver.commands.auth.CreateUserAdminCommand.AuthenticationRestrictions> getAuthenticationRestrictions()
-
setAuthenticationRestrictions
public CreateUserAdminCommand setAuthenticationRestrictions(List<de.caluga.morphium.driver.commands.auth.CreateUserAdminCommand.AuthenticationRestrictions> authenticationRestrictions)
-
isDigestPassword
public boolean isDigestPassword()
-
setDigestPassword
public CreateUserAdminCommand setDigestPassword(boolean digestPassword)
-
setMechanisms
public CreateUserAdminCommand setMechanisms(List<String> mechanisms)
-
-