public class JndiBase extends Object implements IConfigurable
Modifier and Type | Field and Description |
---|---|
protected org.apache.logging.log4j.Logger |
log |
Constructor and Description |
---|
JndiBase() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
configure() |
Context |
getContext()
Gets the Context
When InitialContextFactory and ProviderURL are set, these are used to get the Context . |
Properties |
getJndiEnv() |
void |
setAuthentication(String newAuthentication)
maps to the field context.security_authentication
|
void |
setCredentials(String newCredentials)
username to connect to context, maps to context.security_credentials
|
void |
setInitialContextFactoryName(String value)
class to use as initial context factory
|
void |
setJmsRealm(String jmsRealmName)
loads JNDI (and other) properties from a JmsRealm
|
void |
setJndiAuthAlias(String string)
authentication alias, may be used to override principal and credential-settings
|
void |
setJndiContextPrefix(String string) |
void |
setJndiProperties(String jndiProperties) |
void |
setName(String name)
Name of the sender or the listener
|
void |
setPrincipal(String string)
username to connect to context, maps to context.security_principal
|
void |
setProviderURL(String value)
Sets the value of providerURL
|
void |
setSecurityProtocol(String securityProtocol)
maps to the field context.security_protocol
|
void |
setUrlPkgPrefixes(String newUrlPkgPrefixes)
maps to the field context.url_pkg_prefixes
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getName
getApplicationContext, getName
getConfigurationClassLoader
public void configure() throws ConfigurationException
configure
in interface IConfigurable
ConfigurationException
public void close()
public Properties getJndiEnv() throws NamingException
NamingException
public Context getContext() throws NamingException
Context
. Otherwise the the InitialContext is retrieved without
parameters.NamingException
public void setAuthentication(String newAuthentication)
public void setCredentials(String newCredentials)
public void setInitialContextFactoryName(String value)
public void setProviderURL(String value)
public void setSecurityProtocol(String securityProtocol)
public void setUrlPkgPrefixes(String newUrlPkgPrefixes)
public void setJmsRealm(String jmsRealmName)
JmsRealm
public void setPrincipal(String string)
public void setJndiAuthAlias(String string)
public void setJndiContextPrefix(String string)
public void setJndiProperties(String jndiProperties)
public void setName(String name)
setName
in interface INamedObject
Copyright © 2023 Frank!Framework. All rights reserved.