Identity Data Store Documentation Index
Configuration Reference Home

Last Access Time Plugin

The Last Access Time Plugin may be used to update the ds-last-access-time attribute in an entry whenever it is accessed by an add, bind, compare, modify, modify DN, and/or search operation.

Parent Component
Relations To this Component
Properties
dsconfig Usage

Parent Component

The Last Access Time Plugin component inherits from the Plugin

Relations from This Component

The following components have a direct aggregation relation from Last Access Time Plugins:

Properties

The properties supported by this managed object are as follows:


Basic Properties: Advanced Properties:
↓ description ↓ invoke-for-internal-operations
↓ enabled
↓ last-access-time-format
↓ operation-type
↓ invoke-for-failed-binds
↓ max-search-result-entries-to-update
↓ request-criteria

Basic Properties

description

Description
A description for this Plugin
Default Value
None
Allowed Values
A string
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

enabled

Description
Indicates whether the plug-in is enabled for use.
Default Value
None
Allowed Values
true
false
Multi-Valued
No
Required
Yes
Admin Action Required
None. Modification requires no further action

last-access-time-format

Description
Specifies the format in which last access time values should be written. This format string should be compatible for use with the java.text.SimpleDateFormat class. Although the format string can be used to write timestamp values with up to millisecond accuracy, it is strongly recommended that access times be written with a much more coarse granularity that will require values to be updated less frequently (e.g., "yyyyMMdd", which would cause an update at most once per day).
Default Value
yyyyMMdd
Allowed Values
A string
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

operation-type

Description
Specifies the types of operations that should result in access time updates.
Default Value
add
bind
compare
modify
modify-dn
search
Allowed Values
add - Include the last access time in new entries added to the server.

bind - Update the last access time for bind operations. The invoke-for-failed-binds property controls whether to update only for successful attempts or for all attempts in which the user can be identified. The access time will be updated before returning the response to the client, along with other password policy updates for the target entry.

compare - Update the last access time for successful compare operations (i.e., those with either a COMPARE_TRUE or COMPARE_FALSE result). Note that the access time for the target entry will not be updated until after the compare response has been returned to the client.

modify - Update the last access time for successful modify operations. The access time update will be included with the other changes for the modify operation.

modify-dn - Update the last access time for successful modify DN operations. The access time update will be included with the other changes for the modify DN operation.

search - Update the last access time for search result entries returned to the client. The maximum number of entries to update for any search operation is controlled by the max-search-entries-to-update property. Note that the access time for search result entries will not be updated until after the search result done response has been returned to the client.
Multi-Valued
Yes
Required
No
Admin Action Required
None. Modification requires no further action

invoke-for-failed-binds

Description
Indicates whether to update the last access time for an entry targeted by a bind operation if the bind is unsuccessful.
Default Value
false
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

max-search-result-entries-to-update

Description
Specifies the maximum number of entries that should be updated in a search operation. Only search result entries actually returned to the client may have their last access time updated, but because a single search operation may return a very large number of entries, the plugin will only update entries if no more than a specified number of entries are updated. Selecting a large value for this property may severely degrade server performance, and may cause worker threads to be tied up processing access time updates so that they will not be readily available for processing client requests. If you wish to increase the value for this property, then it is strongly recommended that you test the server with the desired setting in a non-production environment with the anticipated workload to understand the potential performance impact and to identify any other adjustments that may need to be made to the server configuration (e.g., to increase the number of worker threads to avoid starvation).
Default Value
10
Allowed Values
An integer value. Lower limit is 1.
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action

request-criteria

Description
Specifies a set of request criteria that may be used to indicate whether to apply access time updates for the associated operation. If a request-criteria value is specified, then access time updates will only be processed for operations matching that criteria. This can be useful if you wish to update the access time only for requests coming from specific clients or applications (or to prevent operations from certain clients or applications from triggering access time updates).
Default Value
None
Allowed Values
The DN of any Request Criteria.
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action


Advanced Properties

invoke-for-internal-operations (Advanced Property)

Description
Indicates whether the plug-in should be invoked for internal operations. Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operations that can cause the same plug-in to be re-invoked.
Default Value
false
Allowed Values
true
false
Multi-Valued
No
Required
No
Admin Action Required
None. Modification requires no further action


dsconfig Usage

To list the configured Plugins:

dsconfig list-plugins
     [--property {propertyName}] ...

To view the configuration for an existing Plugin:

dsconfig get-plugin-prop
     --plugin-name {name}
     [--tab-delimited]
     [--script-friendly]
     [--property {propertyName}] ...

To update the configuration for an existing Plugin:

dsconfig set-plugin-prop
     --plugin-name {name}
     (--set|--add|--remove) {propertyName}:{propertyValue}
     [(--set|--add|--remove) {propertyName}:{propertyValue}] ...