|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DirectoryServiceMBean
JBoss 3.x Mbean interface for embedded and remote directory server support
Method Summary | |
---|---|
java.lang.String |
changedEmbeddedAdminPassword(java.lang.String oldPassword,
java.lang.String newPassword)
Embedded server only - Changes the current password of the uid=admin user |
boolean |
flushEmbeddedServerData()
Embedded server only - Flushes out any I/O buffer or write cache |
java.lang.String |
getContextFactory()
Gets the name-to-object binding for Context INITIAL_CONTEXT_FACTORY |
java.lang.String |
getContextProviderURL()
Gets the name-to-object binding for Context PROVIDER_URL |
java.lang.String |
getContextSecurityAuthentication()
Gets the name-to-object binding for Context SECURITY_AUTHENTICATION |
java.lang.String |
getContextSecurityCredentials()
Gets the name-to-object binding for Context SECURITY_CREDENTIALS |
java.lang.String |
getContextSecurityPrincipal()
Gets the name-to-object binding for Context SECURITY_PRINCIPAL |
org.w3c.dom.Element |
getEmbeddedAdditionalEnvProperties()
Gets the root element of the XML properties list of additional environment properties |
org.w3c.dom.Element |
getEmbeddedCustomBootstrapSchema()
Gets the root element of the XML properties list of custom bootstrap schema properties |
java.lang.String |
getEmbeddedCustomRootPartitionName()
Embedded server only - Gets the name of the root partion which was automatically created on server startup |
int |
getEmbeddedLDAPPort()
Embedded server only - gets the LDAP listen port |
int |
getEmbeddedLDAPSPort()
Embedded server only - gets the LDAPSSL) listen port (!NOT YET SUPPORTED!) |
java.lang.String |
getEmbeddedLDIFdir()
Embedded server only - Gets the name of the LDIF import folder used by the server |
org.w3c.dom.Element |
getEmbeddedLDIFFilters()
Gets the root element of the XML properties list of defined LDIF filters |
java.lang.String |
getEmbeddedWkdir()
Embedded server only - Gets the name of the workfile folder used by the server |
boolean |
isEmbeddedAccessControlEnabled()
Embedded server only - test if access control is enabled |
boolean |
isEmbeddedAnonymousAccess()
Embedded server only - tests if anonymous access is permitted |
boolean |
isEmbeddedEnableChangePassword()
Embedded server only - test if Change Password wire protocol is enabled |
boolean |
isEmbeddedEnableKerberos()
Embedded server only - test if Kerberos wire protocol is enabled |
boolean |
isEmbeddedEnableNtp()
Embedded server only - test if NTP wire protocol is enabled |
boolean |
isEmbeddedLDAPNetworkingSupport()
Embedded server only - tests if LDAP wire protocol handler is to be started |
boolean |
isEmbeddedServerEnabled()
Test to see if the directory service to use is embedded in this VM |
javax.naming.directory.DirContext |
openDirContext()
Opens a directory context based on the currently assigned name-to-object bindings |
void |
setContextFactory(java.lang.String factoryClass)
Sets the name-to-object binding for Context INITIAL_CONTEXT_FACTORY |
void |
setContextProviderURL(java.lang.String providerURL)
Sets the name-to-object binding for Context PROVIDER_URL |
void |
setContextSecurityAuthentication(java.lang.String securityAuthentication)
Sets the name-to-object binding for Context SECURITY_AUTHENTICATION |
void |
setContextSecurityCredentials(java.lang.String securityCredentials)
Sets the name-to-object binding for Context SECURITY_CREDENTIALS |
void |
setContextSecurityPrincipal(java.lang.String securityPrincipal)
Sets the name-to-object binding for Context SECURITY_PRINCIPAL |
void |
setEmbeddedAccessControlEnabled(boolean enabled)
Embedded server only - Set if access control is enabled |
void |
setEmbeddedAdditionalEnvProperties(org.w3c.dom.Element env)
Sets the root element of the XML properties list of additional environment properties |
void |
setEmbeddedAnonymousAccess(boolean anonymousAccess)
Embedded server only - sests if anonymous access is permitted |
void |
setEmbeddedCustomBootstrapSchema(org.w3c.dom.Element cfg)
Sets the root element of the XML properties list of custom bootstrap schema properties |
void |
setEmbeddedCustomRootPartitionName(java.lang.String rootPartitianName)
Embedded server only - Sets the name of the root partion which is automatically created on server startup |
void |
setEmbeddedEnableChangePassword(boolean enabled)
Embedded server only - set if Change Password wire protocol is enabled |
void |
setEmbeddedEnableKerberos(boolean enabled)
Embedded server only - set if Kerberos wire protocol is enabled |
void |
setEmbeddedEnableNtp(boolean enabled)
Embedded server only - set if NTP wire protocol is enabled |
void |
setEmbeddedLDAPNetworkingSupport(boolean ldapNetworkingSupport)
Embedded server only - sests if LDAP wire protocol handler is to be started |
void |
setEmbeddedLDAPPort(int ldapPort)
Embedded server only - sets the LDAP listen port |
void |
setEmbeddedLDAPSPort(int ldapsPort)
Embedded server only - sets the LDAPS (SSL) listen port (!NOT YET SUPPORTED!) |
void |
setEmbeddedLDIFdir(java.lang.String LDIFdir)
Embedded server only - Sets the name of the LDIF import folder used by the server |
void |
setEmbeddedLDIFFilters(org.w3c.dom.Element fil)
Sets the root element of the XML properties list of defined LDIF filters |
void |
setEmbeddedServerEnabled(boolean enabled)
Set if the directory service to use is embedded in this VM |
void |
setEmbeddedWkdir(java.lang.String wkdir)
Embedded server only - Sets the name of the workfile folder used by the server |
Method Detail |
---|
org.w3c.dom.Element getEmbeddedLDIFFilters()
void setEmbeddedLDIFFilters(org.w3c.dom.Element fil)
fil
- The root DOM elementorg.w3c.dom.Element getEmbeddedAdditionalEnvProperties()
void setEmbeddedAdditionalEnvProperties(org.w3c.dom.Element env)
env
- The root DOM elementorg.w3c.dom.Element getEmbeddedCustomBootstrapSchema()
void setEmbeddedCustomBootstrapSchema(org.w3c.dom.Element cfg)
cfg
- The root DOM elementboolean isEmbeddedServerEnabled()
void setEmbeddedServerEnabled(boolean enabled)
enabled
- True if embedded else falsejava.lang.String getContextFactory()
void setContextFactory(java.lang.String factoryClass)
factoryClass
- Context.INITIAL_CONTEXT_FACTORY valuejava.lang.String getContextProviderURL()
void setContextProviderURL(java.lang.String providerURL)
providerURL
- Context.PROVIDER_URL valuejava.lang.String getContextSecurityAuthentication()
void setContextSecurityAuthentication(java.lang.String securityAuthentication)
securityAuthentication
- Context.SECURITY_AUTHENTICATION valuejava.lang.String getContextSecurityPrincipal()
void setContextSecurityPrincipal(java.lang.String securityPrincipal)
securityPrincipal
- Context.SECURITY_PRINCIPAL valuejava.lang.String getContextSecurityCredentials()
void setContextSecurityCredentials(java.lang.String securityCredentials)
securityCredentials
- Context.SECURITY_CREDENTIALS valuejavax.naming.directory.DirContext openDirContext() throws javax.naming.NamingException
javax.naming.NamingException
boolean flushEmbeddedServerData()
java.lang.String changedEmbeddedAdminPassword(java.lang.String oldPassword, java.lang.String newPassword)
oldPassword
- Old password for verificationnewPassword
- New password to use
boolean isEmbeddedAnonymousAccess()
void setEmbeddedAnonymousAccess(boolean anonymousAccess)
anonymousAccess
- True to allow else falseboolean isEmbeddedLDAPNetworkingSupport()
void setEmbeddedLDAPNetworkingSupport(boolean ldapNetworkingSupport)
ldapNetworkingSupport
- True to install LDAP support else falseint getEmbeddedLDAPPort()
void setEmbeddedLDAPPort(int ldapPort)
ldapPort
- The LDAP port listened onint getEmbeddedLDAPSPort()
void setEmbeddedLDAPSPort(int ldapsPort)
ldapsPort
- The LDAPS port listened onjava.lang.String getEmbeddedCustomRootPartitionName()
void setEmbeddedCustomRootPartitionName(java.lang.String rootPartitianName)
rootPartitianName
- The name of the custom root partition (null for
no partition)java.lang.String getEmbeddedWkdir()
void setEmbeddedWkdir(java.lang.String wkdir)
wkdir
- Folder namejava.lang.String getEmbeddedLDIFdir()
void setEmbeddedLDIFdir(java.lang.String LDIFdir)
LDIFdir
- LDIF import folderboolean isEmbeddedAccessControlEnabled()
void setEmbeddedAccessControlEnabled(boolean enabled)
enabled
- True to enable else falseboolean isEmbeddedEnableNtp()
void setEmbeddedEnableNtp(boolean enabled)
enabled
- True to enable else falseboolean isEmbeddedEnableKerberos()
void setEmbeddedEnableKerberos(boolean enabled)
enabled
- True to enable else falseboolean isEmbeddedEnableChangePassword()
void setEmbeddedEnableChangePassword(boolean enabled)
enabled
- True to enable else false
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |