public final class EnvironmentUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
CONNECT_OPTIONS |
static String |
EJB_CALLBACK_HANDLER_CLASS_KEY |
static String |
EJB_HOST_KEY |
static String |
EJB_PASSWORD_BASE64_KEY |
static String |
EJB_PASSWORD_KEY |
static String |
EJB_PORT_KEY |
static String |
EJB_REMOTE_CONNECTION_PREFIX |
static String |
EJB_REMOTE_CONNECTION_PROVIDER_PREFIX |
static String |
EJB_REMOTE_CONNECTIONS |
static String |
EJB_USERNAME_KEY |
Modifier and Type | Method and Description |
---|---|
static org.wildfly.security.auth.server.IdentityCredentials |
getSecurityCredentials(Hashtable<String,?> env)
Get the security credential, if any.
|
static org.wildfly.security.auth.server.IdentityCredentials |
getSecurityCredentials(Hashtable<String,?> env,
String propertyName)
Get the security credential, if any.
|
static String |
getSecurityRealmName(Hashtable<String,?> env)
Get the name of the security realm, if any.
|
public static final String EJB_REMOTE_CONNECTIONS
public static final String EJB_REMOTE_CONNECTION_PREFIX
public static final String EJB_REMOTE_CONNECTION_PROVIDER_PREFIX
public static final String CONNECT_OPTIONS
public static final String EJB_HOST_KEY
public static final String EJB_PORT_KEY
public static final String EJB_CALLBACK_HANDLER_CLASS_KEY
public static final String EJB_USERNAME_KEY
public static final String EJB_PASSWORD_KEY
public static final String EJB_PASSWORD_BASE64_KEY
public static org.wildfly.security.auth.server.IdentityCredentials getSecurityCredentials(Hashtable<String,?> env)
env
- the environment (must not be null
)null
if none was presentpublic static org.wildfly.security.auth.server.IdentityCredentials getSecurityCredentials(Hashtable<String,?> env, String propertyName)
env
- the environment (must not be null
)propertyName
- the property name (must not be null
)null
if none was presentCopyright © 2017 JBoss by Red Hat. All rights reserved.