public class MPRealmConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
authMechanism
The authentication mechanism
|
boolean |
enabled
If the embedded store is enabled.
|
String |
realmName
The authentication mechanism
|
Map<String,String> |
roles
The realm roles user1=role1,role2,...\nuser2=role1,role2,...
|
Map<String,String> |
users
The realm users user1=password\nuser2=password2...
|
| Constructor and Description |
|---|
MPRealmConfig() |
| Modifier and Type | Method and Description |
|---|---|
AuthConfig |
getAuthConfig()
Used to access what should be a parent class, but parsing of the MP config properties is not working
from parent to child
|
String |
getAuthMechanism() |
String |
getRealmName() |
Map<String,String> |
getRoles() |
Map<String,String> |
getUsers() |
boolean |
isEnabled() |
void |
setAuthMechanism(String authMechanism) |
void |
setEnabled(boolean enabled) |
void |
setRealmName(String realmName) |
void |
setRoles(Map<String,String> roles) |
void |
setUsers(Map<String,String> users) |
String |
toString() |
@ConfigItem(defaultValue="BASIC") public String authMechanism
@ConfigItem(defaultValue="Quarkus") public String realmName
@ConfigItem public boolean enabled
@ConfigItem public Map<String,String> users
@ConfigItem public Map<String,String> roles
public String getAuthMechanism()
public void setAuthMechanism(String authMechanism)
public String getRealmName()
public void setRealmName(String realmName)
public boolean isEnabled()
public void setEnabled(boolean enabled)
public AuthConfig getAuthConfig()
Copyright © 2019 JBoss by Red Hat. All rights reserved.