public class InMemoryAuthorization extends Object
Constructor and Description |
---|
InMemoryAuthorization(PlugInAuthorization plugin) |
Modifier and Type | Method and Description |
---|---|
void |
add(String userName,
List<String> roles) |
void |
add(String userName,
String... roles) |
InMemoryAuthorization |
user(String userName,
Consumer<InMemoryUserAuthorization> config) |
public InMemoryAuthorization(PlugInAuthorization plugin)
public InMemoryAuthorization user(String userName, Consumer<InMemoryUserAuthorization> config)
Copyright © 2018 JBoss by Red Hat. All rights reserved.