org.wildfly.extras.creaper.commands.auth
Class PropertiesFileAuth.Users

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.auth.PropertiesFileAuth.Users
Enclosing class:
PropertiesFileAuth

public static final class PropertiesFileAuth.Users
extends Object

Convenience view on PropertiesFileAuth that only exposes methods for working with users.


Method Summary
 OfflineCommand defineUser(String username, String password)
          Ensures that the *-users.properties file contains a definition of a user with given username and given password.
 OfflineCommand undefineUser(String username)
          Ensures that the *-users.properties file doesn't contain a definition of a user with given username.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

defineUser

public OfflineCommand defineUser(String username,
                                 String password)
Ensures that the *-users.properties file contains a definition of a user with given username and given password.


undefineUser

public OfflineCommand undefineUser(String username)
Ensures that the *-users.properties file doesn't contain a definition of a user with given username.



Copyright © 2016. All rights reserved.