public static final class PropertiesFileAuth.UserMappings extends Object
PropertiesFileAuth that only exposes methods for working with user mappings.| Modifier and Type | Method and Description |
|---|---|
OfflineCommand |
defineUserMapping(String username,
String roleOrGroup)
Ensures that the
*-<groups|roles>.properties file contains a mapping of a user
with given username to given role/group (roleOrGroup). |
OfflineCommand |
undefineUserMapping(String username,
String roleOrGroup)
Ensures that the
*-<groups|roles>.properties file doesn't contain a mapping of a user
with given username to given role/group (roleOrGroup). |
public OfflineCommand defineUserMapping(String username, String roleOrGroup)
*-<groups|roles>.properties file contains a mapping of a user
with given username to given role/group (roleOrGroup).public OfflineCommand undefineUserMapping(String username, String roleOrGroup)
*-<groups|roles>.properties file doesn't contain a mapping of a user
with given username to given role/group (roleOrGroup).Copyright © 2024. All rights reserved.