Modify This Embedded LDAP
/management/weblogic/{version}/edit/embeddedLDAP
Modify this embedded LDAP.
Request
- application/json
-
version(required): string
The version of the WebLogic REST interface.
-
X-Requested-By(required): string
The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Must contain the modified embedded LDAP model.
object-
anonymousBindAllowed:
boolean
Default Value:
falseSpecifies whether the embedded LDAP server should allow anonymous connections.
-
backupCopies:
integer(int32)
Minimum Value:
0Maximum Value:65534Default Value:7The maximum number of backup copies that should be made for the embedded LDAP server.
This value limits the number of zip files in the ldap/backup directory.
-
backupHour:
integer(int32)
Minimum Value:
0Maximum Value:23Default Value:23The hour at which the embedded LDAP server should be backed up.
The Backup Hour value is used in conjunction with the Backup Minute value to determine the time at which the embedded LDAP server data files are backed up. At the specified time, WebLogic Server suspends writes to the embedded LDAP server, backs up the data files into a zip files in the ldap/backup directory, and then resumes writes.
-
backupMinute:
integer(int32)
Minimum Value:
0Maximum Value:59Default Value:5The minute at which the embedded LDAP server should be backed up.
The Backup Minute value is used in conjunction with the Back Up Hour value to determine the time at which the embedded LDAP server data files are backed up
-
cacheEnabled:
boolean
Default Value:
trueSpecifies whether a cache is used with the embedded LDAP server.
This cache is used when a managed server is reading or writing to the master embedded LDAP server that is running on the Administration server.
-
cacheSize:
integer(int32)
Minimum Value:
0Default Value:32The size of the cache (in kilobytes) that is used with the embedded LDAP server.
-
cacheTTL:
integer(int32)
Minimum Value:
0Default Value:60The time-to-live of the cache (in seconds) that is used with the embedded LDAP server.
-
credential:
string(password)
The credential (usually a password) used to connect to the embedded LDAP server.
If this credential has not been set, WebLogic Server generates a password at startup, initializes the attribute, and saves the configuration to the config.xml file. If you want to connect to the embedded LDAP server using an external LDAP browser and the embedded LDAP administrator account (cn=Admin), change this attribute from the generated value.
As of 8.1 sp4, when you get the value of this attribute, WebLogic Server does the following:
Retrieves the value of the
CredentialEncryptedattribute.Decrypts the value and returns the unencrypted password as a String.
When you set the value of this attribute, WebLogic Server does the following:
Encrypts the value.
Sets the value of the
CredentialEncryptedattribute to the encrypted value.
Using the
Credentialattribute is a potential security risk because the String object (which contains the unencrypted password) remains in the JVM's memory until garbage collection removes it and the memory is reallocated. Depending on how memory is allocated in the JVM, a significant amount of time could pass before this unencrypted data is removed from memory.Instead of using this attribute, use
CredentialEncrypted() -
dynamicallyCreated:
boolean
Read Only:
trueDefault Value:falseReturn whether the MBean was created dynamically or is persisted to config.xml
-
id:
integer(int64)
Read Only:
trueReturn the unique id of this MBean instance
-
keepAliveEnabled:
boolean
Default Value:
falseWhether keep alive is enabled in the socket connection
-
masterFirst:
boolean
Default Value:
falseSpecifies whether a Managed Server should always connect to the master LDAP server (contained in the Administration Server), instead of connecting to the local replicated LDAP server (contained in the Managed Server).
-
name:
string
Read Only:
trueThe user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's
javax.management.ObjectNameName=user-specified-nameConstraints
- legal null
-
notes:
string
Optional information that you can include to describe this configuration.
WebLogic Server saves this note in the domain's configuration file (
config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity<. Carriage returns/line feeds are preserved.)>Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.
-
refreshReplicaAtStartup:
boolean
Default Value:
falseSpecifies whether a Managed Server should refresh all replicated data at boot time. (This is useful if you have made a large amount of changes when the Managed Server was not active, and you want to download the entire replica instead of having the Administration Server push each change to the Managed Server.)
-
tags:
array Items
Title:
ItemsReturn all tags on this Configuration MBean
-
timeout:
integer(int32)
Minimum Value:
0Default Value:0Specifies the maximum number of seconds to wait for results from the embedded LDAP server before timing out. If this option is set to 0, there is no maximum time limit.
-
type:
string
Read Only:
trueReturns the type of the MBean.
Constraints
- unharvestable
-
Admin: basic
Type:
basicDescription:A user in the Admin security role.