Modify This Embedded LDAP
/management/weblogic/{version}/edit/embeddedLDAP
Modify this embedded LDAP.
Request
- application/json
-
version: string
The version of the WebLogic REST interface.
-
X-Requested-By: 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(optional):
boolean
Default Value:
false
Specifies whether the embedded LDAP server should allow anonymous connections.
-
backupCopies(optional):
integer(int32)
Minimum Value:
0
Maximum Value:65534
Default Value:7
The 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(optional):
integer(int32)
Minimum Value:
0
Maximum Value:23
Default Value:23
The 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(optional):
integer(int32)
Minimum Value:
0
Maximum Value:59
Default Value:5
The 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(optional):
boolean
Default Value:
true
Specifies 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(optional):
integer(int32)
Minimum Value:
0
Default Value:32
The size of the cache (in kilobytes) that is used with the embedded LDAP server.
-
cacheTTL(optional):
integer(int32)
Minimum Value:
0
Default Value:60
The time-to-live of the cache (in seconds) that is used with the embedded LDAP server.
-
credential(optional):
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
CredentialEncrypted
attribute.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
CredentialEncrypted
attribute to the encrypted value.
Using the
Credential
attribute 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(optional):
boolean
Read Only:
true
Default Value:false
Return whether the MBean was created dynamically or is persisted to config.xml
-
id(optional):
integer(int64)
Read Only:
true
Return the unique id of this MBean instance
-
keepAliveEnabled(optional):
boolean
Default Value:
false
Whether keep alive is enabled in the socket connection
-
masterFirst(optional):
boolean
Default Value:
false
Specifies 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(optional):
string
Read Only:
true
The user-specified name of this MBean instance.
This name is included as one of the key properties in the MBean's
javax.management.ObjectName
Name=user-specified-name
Constraints
- legal null
-
notes(optional):
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(optional):
boolean
Default Value:
false
Specifies 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(optional):
array Items
Title:
Items
Return all tags on this Configuration MBean
-
timeout(optional):
integer(int32)
Minimum Value:
0
Default Value:0
Specifies 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(optional):
string
Read Only:
true
Returns the type of the MBean.
Constraints
- unharvestable
-
Admin: basic
Type:
basic
Description:A user in the Admin security role.