Create configuration definitions for "generic" objects in the server
configuration. This also includes allocating object classes for each of these
types. This will help make it easier for users to create new instances of
these kinds of configuration objects because they will not need to know the
fully-qualified name of the Java class that implements the associated logic.
38 files added
55 files modified
| | |
| | | or $value = 'jdbc' or $value = 'tcp' or $value = 'tls' |
| | | or $value = 'pkcs11' or $value = 'sasl' or $value = 'gssapi' |
| | | or $value = 'md5' or $value = 'je' or $value = 'dse' |
| | | or $value = 'fifo' or $value= 'vlv' |
| | | or $value = 'fifo' or $value = 'vlv' or $value = 'uuid' |
| | | or $value = 'md5' or $value = 'sha1' or $value = 'sha256' |
| | | or $value = 'sha384' or $value = 'sha512' or $value = 'tls' |
| | | "/> |
| | | </xsl:template> |
| | | </xsl:stylesheet> |
| | |
| | | dn: cn=JMX Alert Handler,cn=Alert Handlers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-alert-handler |
| | | objectClass: ds-cfg-jmx-alert-handler |
| | | cn: JMX Alert Handler |
| | | ds-cfg-alert-handler-class: org.opends.server.extensions.JMXAlertHandler |
| | | ds-cfg-alert-handler-enabled: false |
| | |
| | | dn: ds-cfg-backend-id=config,cn=Backends,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-backend |
| | | objectClass: ds-cfg-config-file-handler-backend |
| | | ds-cfg-backend-enabled: true |
| | | ds-cfg-backend-class: org.opends.server.extensions.ConfigFileHandler |
| | | ds-cfg-backend-id: config |
| | |
| | | dn: ds-cfg-backend-id=monitor,cn=Backends,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-backend |
| | | objectClass: ds-cfg-monitor-backend |
| | | ds-cfg-backend-enabled: true |
| | | ds-cfg-backend-class: org.opends.server.backends.MonitorBackend |
| | | ds-cfg-backend-id: monitor |
| | |
| | | dn: cn=Subject Equals DN,cn=Certificate Mappers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-certificate-mapper |
| | | objectClass: ds-cfg-subject-equals-dn-certificate-mapper |
| | | cn: Subject Equals DN |
| | | ds-cfg-certificate-mapper-class: org.opends.server.extensions.SubjectEqualsDNCertificateMapper |
| | | ds-cfg-certificate-mapper-enabled: true |
| | |
| | | dn: cn=Cancel,cn=Extended Operations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-extended-operation-handler |
| | | objectClass: ds-cfg-cancel-extended-operation-handler |
| | | cn: Cancel |
| | | ds-cfg-extended-operation-handler-class: org.opends.server.extensions.CancelExtendedOperation |
| | | ds-cfg-extended-operation-handler-enabled: true |
| | |
| | | dn: cn=Get Connection ID,cn=Extended Operations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-extended-operation-handler |
| | | objectClass: ds-cfg-get-connection-id-extended-operation-handler |
| | | cn: Cancel |
| | | ds-cfg-extended-operation-handler-class: org.opends.server.extensions.GetConnectionIDExtendedOperation |
| | | ds-cfg-extended-operation-handler-enabled: true |
| | |
| | | |
| | | dn: cn=Password Policy State,cn=Extended Operations,cn=config |
| | | objectClass: top |
| | | objectCLass: ds-cfg-extended-operation-handler |
| | | objectClass: ds-cfg-extended-operation-handler |
| | | objectClass: ds-cfg-password-policy-state-extended-operation-handler |
| | | cn: Password Policy State |
| | | ds-cfg-extended-operation-handler-class: org.opends.server.extensions.PasswordPolicyStateExtendedOperation |
| | | ds-cfg-extended-operation-handler-enabled: true |
| | |
| | | dn: cn=StartTLS,cn=Extended Operations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-extended-operation-handler |
| | | objectClass: ds-cfg-starttls-extended-operation-handler |
| | | cn: StartTLS |
| | | ds-cfg-extended-operation-handler-class: org.opends.server.extensions.StartTLSExtendedOperation |
| | | ds-cfg-extended-operation-handler-enabled: true |
| | |
| | | dn: cn=Who Am I,cn=Extended Operations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-extended-operation-handler |
| | | objectClass: ds-cfg-who-am-i-extended-operation-handler |
| | | cn: Who Am I |
| | | ds-cfg-extended-operation-handler-class: org.opends.server.extensions.WhoAmIExtendedOperation |
| | | ds-cfg-extended-operation-handler-enabled: true |
| | |
| | | dn: cn=Dynamic,cn=Group Implementations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-group-implementation |
| | | objectClass: ds-cfg-dynamic-group-implementation |
| | | cn: Dynamic |
| | | ds-cfg-group-implementation-class: org.opends.server.extensions.DynamicGroup |
| | | ds-cfg-group-implementation-enabled: true |
| | |
| | | dn: cn=Static,cn=Group Implementations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-group-implementation |
| | | objectClass: ds-cfg-static-group-implementation |
| | | cn: Static |
| | | ds-cfg-group-implementation-class: org.opends.server.extensions.StaticGroup |
| | | ds-cfg-group-implementation-enabled: true |
| | |
| | | dn: cn=Virtual Static,cn=Group Implementations,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-group-implementation |
| | | objectClass: ds-cfg-virtual-static-group-implementation |
| | | cn: Virtual Static |
| | | ds-cfg-group-implementation-class: org.opends.server.extensions.VirtualStaticGroup |
| | | ds-cfg-group-implementation-enabled: true |
| | |
| | | dn: cn=Client Connections,cn=Monitor Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-monitor-provider |
| | | objectClass: ds-cfg-client-connection-monitor-provider |
| | | cn: Client Connections |
| | | ds-cfg-monitor-provider-class: org.opends.server.monitors.ClientConnectionMonitorProvider |
| | | ds-cfg-monitor-provider-enabled: true |
| | |
| | | dn: cn=JVM Stack Trace,cn=Monitor Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-monitor-provider |
| | | objectClass: ds-cfg-stack-trace-monitor-provider |
| | | cn: JVM Stack Trace |
| | | ds-cfg-monitor-provider-class: org.opends.server.monitors.StackTraceMonitorProvider |
| | | ds-cfg-monitor-provider-enabled: true |
| | |
| | | dn: cn=System Info,cn=Monitor Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-monitor-provider |
| | | objectClass: ds-cfg-system-info-monitor-provider |
| | | cn: System Info |
| | | ds-cfg-monitor-provider-class: org.opends.server.monitors.SystemInfoMonitorProvider |
| | | ds-cfg-monitor-provider-enabled: true |
| | |
| | | dn: cn=Version,cn=Monitor Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-monitor-provider |
| | | objectClass: ds-cfg-version-monitor-provider |
| | | cn: Version |
| | | ds-cfg-monitor-provider-class: org.opends.server.monitors.VersionMonitorProvider |
| | | ds-cfg-monitor-provider-enabled: true |
| | |
| | | dn: cn=Base64,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-base64-password-storage-scheme |
| | | cn: Base64 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.Base64PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=Clear,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-clear-password-storage-scheme |
| | | cn: Clear |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.ClearPasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | | |
| | | dn: cn=CRYPT,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-crypt-password-storage-scheme |
| | | cn: CRYPT |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.CryptPasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | | |
| | | dn: cn=MD5,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-md5-password-storage-scheme |
| | | cn: MD5 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.MD5PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=Salted MD5,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-salted-md5-password-storage-scheme |
| | | cn: Salted MD5 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.SaltedMD5PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=Salted SHA-1,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-salted-sha1-password-storage-scheme |
| | | cn: Salted SHA-1 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.SaltedSHA1PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=Salted SHA-256,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-salted-sha256-password-storage-scheme |
| | | cn: Salted SHA-256 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.SaltedSHA256PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=Salted SHA-384,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-salted-sha384-password-storage-scheme |
| | | cn: Salted SHA-384 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.SaltedSHA384PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=Salted SHA-512,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-salted-sha512-password-storage-scheme |
| | | cn: Salted SHA-512 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.SaltedSHA512PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | |
| | | dn: cn=SHA-1,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | objectClass: ds-cfg-sha1-password-storage-scheme |
| | | cn: SHA-1 |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.SHA1PasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | | |
| | | dn: cn=CRYPT,cn=Password Storage Schemes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-password-storage-scheme |
| | | cn: CRYPT |
| | | ds-cfg-password-storage-scheme-class: org.opends.server.extensions.CryptPasswordStorageScheme |
| | | ds-cfg-password-storage-scheme-enabled: true |
| | | |
| | | dn: cn=Password Validators,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-branch |
| | |
| | | dn: cn=Entry UUID,cn=Plugins,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-plugin |
| | | objectClass: ds-cfg-entryuuid-plugin |
| | | cn: Entry UUID |
| | | ds-cfg-plugin-class: org.opends.server.plugins.EntryUUIDPlugin |
| | | ds-cfg-plugin-enabled: true |
| | |
| | | dn: cn=LastMod,cn=Plugins,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-plugin |
| | | objectClass: ds-cfg-lastmod-plugin |
| | | cn: LastMod |
| | | ds-cfg-plugin-class: org.opends.server.plugins.LastModPlugin |
| | | ds-cfg-plugin-enabled: true |
| | |
| | | dn: cn=LDAP Attribute Description List,cn=Plugins,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-plugin |
| | | objectClass: ds-cfg-ldap-ad-list-plugin |
| | | cn: LDAP Attribute Description List |
| | | ds-cfg-plugin-class: org.opends.server.plugins.LDAPADListPlugin |
| | | ds-cfg-plugin-enabled: true |
| | |
| | | ds-cfg-profile-directory: logs |
| | | ds-cfg-profile-sample-interval: 10 milliseconds |
| | | |
| | | dn: cn=UID Unique Attribute ,cn=Plugins,cn=config |
| | | dn: cn=UID Unique Attribute,cn=Plugins,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-plugin |
| | | objectClass: ds-cfg-unique-attribute-plugin |
| | |
| | | dn: cn=ANONYMOUS,cn=SASL Mechanisms,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-sasl-mechanism-handler |
| | | objectClass: ds-cfg-anonymous-sasl-mechanism-handler |
| | | cn: ANONYMOUS |
| | | ds-cfg-sasl-mechanism-handler-class: org.opends.server.extensions.AnonymousSASLMechanismHandler |
| | | ds-cfg-sasl-mechanism-handler-enabled: false |
| | |
| | | objectClass: ds-cfg-branch |
| | | cn: Synchronization Providers |
| | | |
| | | dn: cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-synchronization-provider |
| | | objectClass: ds-cfg-multimaster-synchronization-provider |
| | | cn: Multimaster Synchronization |
| | | ds-cfg-synchronization-provider-enabled: true |
| | | ds-cfg-synchronization-provider-class: org.opends.server.replication.plugin.MultimasterReplication |
| | | |
| | | dn: cn=domains,cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-branch |
| | | cn: domains |
| | | |
| | | dn: cn=Syntaxes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-branch |
| | |
| | | dn: cn=entryDN,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | objectClass: ds-cfg-entrydn-virtual-attribute |
| | | cn: entryDN |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.EntryDNVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | |
| | | dn: cn=entryUUID,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | objectClass: ds-cfg-entryuuid-virtual-attribute |
| | | cn: entryUUIUD |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.EntryUUIDVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | | ds-cfg-virtual-attribute-type: entryUUID |
| | | ds-cfg-virtual-attribute-conflict-behavior: real-overrides-virtual |
| | | |
| | | dn: cn=hasSubordinates,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | objectClass: ds-cfg-hassubordinates-virtual-attribute |
| | | cn: hasSubordinates |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.HasSubordinatesVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | | ds-cfg-virtual-attribute-type: hasSubordinates |
| | | ds-cfg-virtual-attribute-conflict-behavior: virtual-overrides-real |
| | | |
| | | dn: cn=isMemberOf,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | objectClass: ds-cfg-ismemberof-virtual-attribute |
| | | cn: isMemberOf |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.IsMemberOfVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | |
| | | ds-cfg-virtual-attribute-filter: (objectClass=person) |
| | | ds-cfg-virtual-attribute-conflict-behavior: virtual-overrides-real |
| | | |
| | | dn: cn=numSubordinates,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | objectClass: ds-cfg-numsubordinates-virtual-attribute |
| | | cn: numSubordinates |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.NumSubordinatesVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | | ds-cfg-virtual-attribute-type: numSubordinates |
| | | ds-cfg-virtual-attribute-conflict-behavior: virtual-overrides-real |
| | | |
| | | dn: cn=subschemaSubentry,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | objectClass: ds-cfg-subschemasubentry-virtual-attribute |
| | | cn: subschemaSubentry |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.SubschemaSubentryVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | |
| | | ds-cfg-virtual-attribute-filter: (&(objectClass=groupOfUniqueNames)(objectClass=ds-virtual-static-group)) |
| | | ds-cfg-allow-retrieving-membership: false |
| | | |
| | | dn: cn=numSubordinates,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | cn: numSubordinates |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.NumSubordinatesVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | | ds-cfg-virtual-attribute-type: numSubordinates |
| | | ds-cfg-virtual-attribute-conflict-behavior: virtual-overrides-real |
| | | |
| | | dn: cn=hasSubordinates,cn=Virtual Attributes,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-virtual-attribute |
| | | cn: hasSubordinates |
| | | ds-cfg-virtual-attribute-class: org.opends.server.extensions.HasSubordinatesVirtualAttributeProvider |
| | | ds-cfg-virtual-attribute-enabled: true |
| | | ds-cfg-virtual-attribute-type: hasSubordinates |
| | | ds-cfg-virtual-attribute-conflict-behavior: virtual-overrides-real |
| | | |
| | | dn: cn=Work Queue,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-work-queue |
| | |
| | | ds-cfg-num-worker-threads: 24 |
| | | ds-cfg-max-work-queue-capacity: 0 |
| | | |
| | | dn: cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-synchronization-provider |
| | | objectClass: ds-cfg-multimaster-synchronization-provider |
| | | cn: Multimaster Synchronization |
| | | ds-cfg-synchronization-provider-enabled: true |
| | | ds-cfg-synchronization-provider-class: org.opends.server.replication.plugin.MultimasterReplication |
| | | |
| | | dn: cn=domains,cn=Multimaster Synchronization,cn=Synchronization Providers,cn=config |
| | | objectClass: top |
| | | objectClass: ds-cfg-branch |
| | | cn: domains |
| | |
| | | STRUCTURAL |
| | | MUST ( ds-cfg-key-id ) |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.125 NAME 'ds-cfg-entryuuid-plugin' |
| | | SUP ds-cfg-plugin STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.126 NAME 'ds-cfg-lastmod-plugin' |
| | | SUP ds-cfg-plugin STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.127 NAME 'ds-cfg-ldap-ad-list-plugin' |
| | | SUP ds-cfg-plugin STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.128 NAME 'ds-cfg-jmx-alert-handler' |
| | | SUP ds-cfg-alert-handler STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.129 NAME 'ds-cfg-memory-backend' |
| | | SUP ds-cfg-backend STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.130 NAME 'ds-cfg-monitor-backend' |
| | | SUP ds-cfg-backend STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.131 |
| | | NAME 'ds-cfg-cancel-extended-operation-handler' |
| | | SUP ds-cfg-extended-operation-handler STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.132 |
| | | NAME 'ds-cfg-get-connection-id-extended-operation-handler' |
| | | SUP ds-cfg-extended-operation-handler STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.133 |
| | | NAME 'ds-cfg-password-policy-state-extended-operation-handler' |
| | | SUP ds-cfg-extended-operation-handler STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.134 |
| | | NAME 'ds-cfg-starttls-extended-operation-handler' |
| | | SUP ds-cfg-extended-operation-handler STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.135 |
| | | NAME 'ds-cfg-who-am-i-extended-operation-handler' |
| | | SUP ds-cfg-extended-operation-handler STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.136 |
| | | NAME 'ds-cfg-static-group-implementation' SUP ds-cfg-group-implementation |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.137 |
| | | NAME 'ds-cfg-dynamic-group-implementation' SUP ds-cfg-group-implementation |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.138 |
| | | NAME 'ds-cfg-virtual-static-group-implementation' |
| | | SUP ds-cfg-group-implementation STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.139 |
| | | NAME 'ds-cfg-client-connection-monitor-provider' SUP ds-cfg-monitor-provider |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.140 |
| | | NAME 'ds-cfg-stack-trace-monitor-provider' SUP ds-cfg-monitor-provider |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.141 |
| | | NAME 'ds-cfg-system-info-monitor-provider' SUP ds-cfg-monitor-provider |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.142 |
| | | NAME 'ds-cfg-version-monitor-provider' SUP ds-cfg-monitor-provider |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.143 |
| | | NAME 'ds-cfg-base64-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.144 |
| | | NAME 'ds-cfg-clear-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.145 |
| | | NAME 'ds-cfg-crypt-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.146 |
| | | NAME 'ds-cfg-md5-password-storage-scheme' SUP ds-cfg-password-storage-scheme |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.147 |
| | | NAME 'ds-cfg-sha1-password-storage-scheme' SUP ds-cfg-password-storage-scheme |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.148 |
| | | NAME 'ds-cfg-salted-md5-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.149 |
| | | NAME 'ds-cfg-salted-sha1-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.150 |
| | | NAME 'ds-cfg-salted-sha256-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.151 |
| | | NAME 'ds-cfg-salted-sha384-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.152 |
| | | NAME 'ds-cfg-salted-sha512-password-storage-scheme' |
| | | SUP ds-cfg-password-storage-scheme STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.153 |
| | | NAME 'ds-cfg-anonymous-sasl-mechanism-handler' |
| | | SUP ds-cfg-sasl-mechanism-handler STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.154 |
| | | NAME 'ds-cfg-blind-trust-manager-provider' SUP ds-cfg-trust-manager-provider |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.155 |
| | | NAME 'ds-cfg-entrydn-virtual-attribute' SUP ds-cfg-virtual-attribute |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.156 |
| | | NAME 'ds-cfg-entryuuid-virtual-attribute' SUP ds-cfg-virtual-attribute |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.157 |
| | | NAME 'ds-cfg-hassubordinates-virtual-attribute' SUP ds-cfg-virtual-attribute |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.158 |
| | | NAME 'ds-cfg-numsubordinates-virtual-attribute' SUP ds-cfg-virtual-attribute |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.159 |
| | | NAME 'ds-cfg-ismemberof-virtual-attribute' SUP ds-cfg-virtual-attribute |
| | | STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.160 |
| | | NAME 'ds-cfg-subschemasubentry-virtual-attribute' |
| | | SUP ds-cfg-virtual-attribute STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.161 |
| | | NAME 'ds-cfg-config-file-handler-backend' SUP ds-cfg-backend STRUCTURAL |
| | | X-ORIGIN 'OpenDS Directory Server' ) |
| | | objectClasses: ( 1.3.6.1.4.1.26027.1.2.162 |
| | | NAME 'ds-cfg-subject-equals-dn-certificate-mapper' |
| | | SUP ds-cfg-certificate-mapper STRUCTURAL X-ORIGIN 'OpenDS Directory Server' ) |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="anonymous-sasl-mechanism-handler" |
| | | plural-name="anonymous-sasl-mechanism-handlers" |
| | | package="org.opends.server.admin.std" extends="sasl-mechanism-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | is used to perform all processing related to SASL ANONYMOUS authentication. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.153</ldap:oid> |
| | | <ldap:name>ds-cfg-anonymous-sasl-mechanism-handler</ldap:name> |
| | | <ldap:superior>ds-cfg-sasl-mechanism-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="handler-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.AnonymousSASLMechanismHandler |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="base64-password-storage-scheme" |
| | | plural-name="base64-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using the BASE64 encoding mechanism. This implementation contains |
| | | only an implementation for the user password syntax, with a storage scheme |
| | | name of "BASE64". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.143</ldap:oid> |
| | | <ldap:name>ds-cfg-base64-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.Base64PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="blind-trust-manager" |
| | | plural-name="blind-trust-managers" |
| | | package="org.opends.server.admin.std" extends="trust-manager" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | provides a mechanism for blindly trusting any certificate presented to it |
| | | without performing any kind of validation, including ignoring the validity |
| | | dates included within the certificate. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.154</ldap:oid> |
| | | <ldap:name>ds-cfg-blind-trust-manager-provider</ldap:name> |
| | | <ldap:superior>ds-cfg-trust-manager-provider</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="java-implementation-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.BlindTrustManagerProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="cancel-extended-operation-handler" |
| | | plural-name="cancel-extended-operation-handlers" |
| | | package="org.opends.server.admin.std" |
| | | extends="extended-operation-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides support for the LDAP cancel extended |
| | | operation as defined in RFC 3909. It allows clients to cancel operations |
| | | initiated from earlier requests, and will ensure that both the cancel |
| | | request and the operation being canceled will receive response messages. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.131</ldap:oid> |
| | | <ldap:name>ds-cfg-cancel-extended-operation-handler</ldap:name> |
| | | <ldap:superior>ds-cfg-extended-operation-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="java-implementation-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.CancelExtendedOperation |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="clear-password-storage-scheme" |
| | | plural-name="clear-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for storing user |
| | | passwords in clear text, without any form of obfuscation. This |
| | | implementation contains only an implementation for the user password syntax, |
| | | with a storage scheme name of "CLEAR". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.144</ldap:oid> |
| | | <ldap:name>ds-cfg-clear-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.ClearPasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="client-connection-monitor-provider" |
| | | plural-name="client-connection-monitor-providers" |
| | | package="org.opends.server.admin.std" |
| | | extends="monitor-provider" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> exposes monitor information about the set of |
| | | client connections that are established to the Directory Server. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.139</ldap:oid> |
| | | <ldap:name>ds-cfg-client-connection-monitor-provider</ldap:name> |
| | | <ldap:superior>ds-cfg-monitor-provider</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="monitor-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.monitors.ClientConnectionMonitorProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="config-file-handler-backend" |
| | | plural-name="config-file-handler-backends" |
| | | package="org.opends.server.admin.std" |
| | | extends="backend" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The config file handler backend provides the ability for clients to |
| | | access the server configuration over protocol, allowing both read and write |
| | | operations (although modify DN operations are not supported for entries in |
| | | the server configuration). |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.161</ldap:oid> |
| | | <ldap:name>ds-cfg-config-file-handler-backend</ldap:name> |
| | | <ldap:superior>ds-cfg-backend</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="backend-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.ConfigFileHandler |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="crypt-password-storage-scheme" |
| | | plural-name="crypt-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using the UNIX crypt algorithm. This implementation contains |
| | | only an implementation for the user password syntax, with a storage scheme |
| | | name of "CRYPT". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.145</ldap:oid> |
| | | <ldap:name>ds-cfg-crypt-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.CryptPasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="dynamic-group-implementation" |
| | | plural-name="dynamic-group-implementations" |
| | | package="org.opends.server.admin.std" |
| | | extends="group-implementation" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a grouping mechanism in which the |
| | | group membership is determined based on criteria defined in one or more |
| | | LDAP URLs. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.137</ldap:oid> |
| | | <ldap:name>ds-cfg-dynamic-group-implementation</ldap:name> |
| | | <ldap:superior>ds-cfg-group-implementation</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="group-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.DynamicGroup |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="entry-dn-virtual-attribute" |
| | | plural-name="entry-dn-virtual-attributes" |
| | | package="org.opends.server.admin.std" extends="virtual-attribute" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to generate the entryDN operational attribute, which contains a |
| | | normalized form of the entry's DN. This provides the ability to use search |
| | | filters containing the entry's DN. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.155</ldap:oid> |
| | | <ldap:name>ds-cfg-entrydn-virtual-attribute</ldap:name> |
| | | <ldap:superior>ds-cfg-virtual-attribute</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="provider-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.EntryDNirtualAttributeProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="entry-uuid-plugin" |
| | | plural-name="entry-uuid-plugins" |
| | | package="org.opends.server.admin.std" extends="plugin" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | is used to generate values for the entryUUID operational attribute whenever |
| | | an entry is added via protocol or imported from LDIF. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.125</ldap:oid> |
| | | <ldap:name>ds-cfg-entryuuid-plugin</ldap:name> |
| | | <ldap:superior>ds-cfg-plugin</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="plugin-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.plugins.EntryUUIDPlugin |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="entry-uuid-virtual-attribute" |
| | | plural-name="entry-uuid-virtual-attributes" |
| | | package="org.opends.server.admin.std" extends="virtual-attribute" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to ensure that all entries contained in private backends |
| | | will have values for the entryUUID operational attribute. The entryUUID |
| | | values will be generated based on a normalized representation of the entry's |
| | | DN, which should not cause a consistency problem because we do not allow |
| | | modify DN operations to be performed in private backends. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.156</ldap:oid> |
| | | <ldap:name>ds-cfg-entryuuid-virtual-attribute</ldap:name> |
| | | <ldap:superior>ds-cfg-virtual-attribute</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="provider-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.EntryUUIDirtualAttributeProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="get-connection-id-extended-operation-handler" |
| | | plural-name="get-connection-id-extended-operation-handlers" |
| | | package="org.opends.server.admin.std" |
| | | extends="extended-operation-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for clients to obtain |
| | | the internal connection ID that the server uses to reference their client |
| | | connection. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.132</ldap:oid> |
| | | <ldap:name>ds-cfg-get-connection-id-extended-operation-handler</ldap:name> |
| | | <ldap:superior>ds-cfg-extended-operation-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="java-implementation-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.GetConnectionIDExtendedOperation |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="has-subordinates-virtual-attribute" |
| | | plural-name="has-subordinates-virtual-attributes" |
| | | package="org.opends.server.admin.std" extends="virtual-attribute" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to generate a virtual attribute that indicates whether the |
| | | entry has any subordinate entries. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.157</ldap:oid> |
| | | <ldap:name>ds-cfg-hassubordinates-virtual-attribute</ldap:name> |
| | | <ldap:superior>ds-cfg-virtual-attribute</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="provider-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.HasSubordinatesVirtualAttributeProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="is-member-of-virtual-attribute" |
| | | plural-name="is-member-of-virtual-attributes" |
| | | package="org.opends.server.admin.std" extends="virtual-attribute" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to generate a virtual attribute that contains the DNs of the |
| | | groups in which the user is a member. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.159</ldap:oid> |
| | | <ldap:name>ds-cfg-ismemberof-virtual-attribute</ldap:name> |
| | | <ldap:superior>ds-cfg-virtual-attribute</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="provider-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.IsMemberOfVirtualAttributeProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="jmx-alert-handler" plural-name="jmx-alert-handlers" |
| | | package="org.opends.server.admin.std" extends="alert-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to generate JMX notifications to alert administrators of |
| | | significant events that occur within the server. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.128</ldap:oid> |
| | | <ldap:name>ds-cfg-jmx-alert-handler</ldap:name> |
| | | <ldap:superior>ds-cfg-alert-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="alert-handler-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.JMXAlertHandler |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="ldap-attribute-description-list-plugin" |
| | | plural-name="ldap-attribute-description-list-plugins" |
| | | package="org.opends.server.admin.std" extends="plugin" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | is used to provide the ability to request that search result entries |
| | | include all attributes that are included by a specified object class. For |
| | | example, including a requested attribute of "@person" has the effect of |
| | | requesting all attributes in the person object class. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.127</ldap:oid> |
| | | <ldap:name>ds-cfg-ldap-ad-list-plugin</ldap:name> |
| | | <ldap:superior>ds-cfg-plugin</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="plugin-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.plugins.LDAPADListPlugin |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="last-mod-plugin" |
| | | plural-name="last-mod-plugins" |
| | | package="org.opends.server.admin.std" extends="plugin" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | is used to ensure that the creatorsName and createTimestamp attributes are |
| | | included in an entry whenever it is added to the server, and to ensure that |
| | | the modifiersName and modifyTimestamp attributes are updated whenever an |
| | | entry is modified or renamed. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.126</ldap:oid> |
| | | <ldap:name>ds-cfg-lastmod-plugin</ldap:name> |
| | | <ldap:superior>ds-cfg-plugin</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="plugin-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.plugins.LastModPlugin |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="md5-password-storage-scheme" |
| | | plural-name="md5-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using an unsalted form of the MD5 message digest algorithm. This |
| | | implementation contains only an implementation for the user password syntax, |
| | | with a storage scheme name of "MD5". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.146</ldap:oid> |
| | | <ldap:name>ds-cfg-md5-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.MD5PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="memory-backend" plural-name="memory-backends" |
| | | package="org.opends.server.admin.std" |
| | | extends="backend" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The memory backend provides a Directory Server backend implementation that |
| | | stores entries in memory. There is no persistence of any kind, and the |
| | | backend contents are cleared whenever the backend is brought online or |
| | | offline and when the server is restarted. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.129</ldap:oid> |
| | | <ldap:name>ds-cfg-memory-backend</ldap:name> |
| | | <ldap:superior>ds-cfg-backend</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="backend-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.backends.MemoryBackend |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="monitor-backend" plural-name="monitor-backends" |
| | | package="org.opends.server.admin.std" |
| | | extends="backend" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The monitor backend allows clients to access the information made available |
| | | by Directory Server monitor providers. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.130</ldap:oid> |
| | | <ldap:name>ds-cfg-monitor-backend</ldap:name> |
| | | <ldap:superior>ds-cfg-backend</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="backend-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.backends.MonitorBackend |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="num-subordinates-virtual-attribute" |
| | | plural-name="num-subordinates-virtual-attributes" |
| | | package="org.opends.server.admin.std" extends="virtual-attribute" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to generate a virtual attribute that specifies the number of |
| | | immediate child entries that exist below the entry. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.158</ldap:oid> |
| | | <ldap:name>ds-cfg-numsubordinates-virtual-attribute</ldap:name> |
| | | <ldap:superior>ds-cfg-virtual-attribute</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="provider-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.NumSubordinatesVirtualAttributeProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="password-policy-state-extended-operation-handler" |
| | | plural-name="password-policy-state-extended-operation-handlers" |
| | | package="org.opends.server.admin.std" |
| | | extends="extended-operation-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides the ability for administrators to |
| | | request and optionally alter password policy state information for a |
| | | specified user. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.133</ldap:oid> |
| | | <ldap:name> |
| | | ds-cfg-password-policy-state-extended-operation-handler |
| | | </ldap:name> |
| | | <ldap:superior>ds-cfg-extended-operation-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="java-implementation-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.PasswordPolicyStateExtendedOperation |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="sha1-password-storage-scheme" |
| | | plural-name="sha1-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using an unsalted form of the SHA-1 message digest algorithm. |
| | | This implementation contains only an implementation for the user password |
| | | syntax, with a storage scheme name of "SHA". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.147</ldap:oid> |
| | | <ldap:name>ds-cfg-sha1-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SHA1PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="salted-md5-password-storage-scheme" |
| | | plural-name="salted-md5-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using a salted form of the MD5 message digest algorithm. This |
| | | implementation contains an implementation for the user password syntax, |
| | | with a storage scheme name of "SMD5", and animplemenation of the auth |
| | | password syntax, with a storage scheme name of "MD5". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.148</ldap:oid> |
| | | <ldap:name>ds-cfg-salted-md5-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SaltedMD5PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="salted-sha1-password-storage-scheme" |
| | | plural-name="salted-sha1-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using a salted form of the SHA-1 message digest algorithm. This |
| | | implementation contains an implementation for the user password syntax, |
| | | with a storage scheme name of "SSHA", and animplemenation of the auth |
| | | password syntax, with a storage scheme name of "SHA1". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.149</ldap:oid> |
| | | <ldap:name>ds-cfg-salted-sha1-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SaltedSHA1PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="salted-sha256-password-storage-scheme" |
| | | plural-name="salted-sha256-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using a salted form of the 256-bit SHA-2 message digest algorithm. |
| | | This implementation contains an implementation for the user password syntax, |
| | | with a storage scheme name of "SSHA256", and animplemenation of the auth |
| | | password syntax, with a storage scheme name of "SHA256". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.150</ldap:oid> |
| | | <ldap:name>ds-cfg-salted-sha256-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SaltedSHA256PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="salted-sha384-password-storage-scheme" |
| | | plural-name="salted-sha384-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using a salted form of the 384-bit SHA-2 message digest algorithm. |
| | | This implementation contains an implementation for the user password syntax, |
| | | with a storage scheme name of "SSHA384", and animplemenation of the auth |
| | | password syntax, with a storage scheme name of "SHA384". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.150</ldap:oid> |
| | | <ldap:name>ds-cfg-salted-sha384-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SaltedSHA384PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="salted-sha512-password-storage-scheme" |
| | | plural-name="salted-sha512-password-storage-schemes" |
| | | package="org.opends.server.admin.std" |
| | | extends="password-storage-scheme" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a mechanism for encoding user |
| | | passwords using a salted form of the 512-bit SHA-2 message digest algorithm. |
| | | This implementation contains an implementation for the user password syntax, |
| | | with a storage scheme name of "SSHA512", and animplemenation of the auth |
| | | password syntax, with a storage scheme name of "SHA512". |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.150</ldap:oid> |
| | | <ldap:name>ds-cfg-salted-sha512-password-storage-scheme</ldap:name> |
| | | <ldap:superior>ds-cfg-password-storage-scheme</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="scheme-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SaltedSHA512PasswordStorageScheme |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="stack-trace-monitor-provider" |
| | | plural-name="stack-trace-monitor-providers" |
| | | package="org.opends.server.admin.std" |
| | | extends="monitor-provider" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides the ability for clients to obtain a |
| | | stack trace of all threads currently running in the Directory Server. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.140</ldap:oid> |
| | | <ldap:name>ds-cfg-stack-trace-monitor-provider</ldap:name> |
| | | <ldap:superior>ds-cfg-monitor-provider</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="monitor-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.monitors.StackTraceMonitorProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="start-tls-extended-operation-handler" |
| | | plural-name="start-tls-extended-operation-handlers" |
| | | package="org.opends.server.admin.std" |
| | | extends="extended-operation-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides the ability clients to use the |
| | | StartTLS extended operation to initiate a secure communication channel over |
| | | an otherwise clear-text LDAP connection. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.134</ldap:oid> |
| | | <ldap:name>ds-cfg-starttls-extended-operation-handler</ldap:name> |
| | | <ldap:superior>ds-cfg-extended-operation-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="java-implementation-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.StartTLSExtendedOperation |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="static-group-implementation" |
| | | plural-name="static-group-implementations" |
| | | package="org.opends.server.admin.std" |
| | | extends="group-implementation" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a grouping mechanism in which the |
| | | group membership is based on an explicit list of the DNs of the users that |
| | | are members of the group. Note that it is possible to nest static groups, |
| | | which can be accomplished by including the DN of a nested group in the |
| | | member list for the parent group. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.136</ldap:oid> |
| | | <ldap:name>ds-cfg-static-group-implementation</ldap:name> |
| | | <ldap:superior>ds-cfg-group-implementation</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="group-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.StaticGroup |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="utf-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="subject-equals-dn-certificate-mapper" |
| | | plural-name="subject-equals-dn-certificate-mappers" |
| | | package="org.opends.server.admin.std" extends="certificate-mapper" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | maps client certificates to user entries based on the assumption that the |
| | | certificate subject is the same as the DN of the target user entry. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.162</ldap:oid> |
| | | <ldap:name>ds-cfg-subject-equals-dn-certificate-mapper</ldap:name> |
| | | <ldap:superior>ds-cfg-certificate-mapper</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="mapper-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SubjectEqualsDNCertificateMapper |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object name="subschema-subentry-virtual-attribute" |
| | | plural-name="subschema-subentry-virtual-attributes" |
| | | package="org.opends.server.admin.std" extends="virtual-attribute" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The |
| | | <adm:user-friendly-name /> |
| | | may be used to generate a virtual attribute that specifies the location of |
| | | the subschemaSubentry with the schema definitions in effect for the entry. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.160</ldap:oid> |
| | | <ldap:name>ds-cfg-subschemasubentry-virtual-attribute</ldap:name> |
| | | <ldap:superior>ds-cfg-virtual-attribute</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="provider-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.SubschemaSubentryVirtualAttributeProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="system-info-monitor-provider" |
| | | plural-name="system-info-monitor-providers" |
| | | package="org.opends.server.admin.std" |
| | | extends="monitor-provider" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> may be used to publish information about the |
| | | system and virtual machine on which the Directory Server is running. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.141</ldap:oid> |
| | | <ldap:name>ds-cfg-system-info-monitor-provider</ldap:name> |
| | | <ldap:superior>ds-cfg-monitor-provider</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="monitor-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.monitors.SystemInfoMonitorProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="version-monitor-provider" |
| | | plural-name="version-monitor-providers" |
| | | package="org.opends.server.admin.std" |
| | | extends="monitor-provider" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> may be used to publish Directory Server |
| | | version information. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.142</ldap:oid> |
| | | <ldap:name>ds-cfg-version-monitor-provider</ldap:name> |
| | | <ldap:superior>ds-cfg-monitor-provider</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="monitor-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.monitors.VersionMonitorProvider |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="virtual-static-group-implementation" |
| | | plural-name="virtual-static-group-implementations" |
| | | package="org.opends.server.admin.std" |
| | | extends="group-implementation" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides a grouping mechanism in which the |
| | | membership for the virtual static group is based on the membership for |
| | | another group defined within the server. The primary benefit of virtual |
| | | static groups is that they make it possible to present other types of |
| | | groups (e.g., dynamic groups) as if they were static groups for the benefit |
| | | of applications that do not support alternate grouping mechanisms. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.138</ldap:oid> |
| | | <ldap:name>ds-cfg-virtual-static-group-implementation</ldap:name> |
| | | <ldap:superior>ds-cfg-group-implementation</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="group-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.VirtualStaticGroup |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| New file |
| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <!-- |
| | | ! CDDL HEADER START |
| | | ! |
| | | ! The contents of this file are subject to the terms of the |
| | | ! Common Development and Distribution License, Version 1.0 only |
| | | ! (the "License"). You may not use this file except in compliance |
| | | ! with the License. |
| | | ! |
| | | ! You can obtain a copy of the license at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE |
| | | ! or https://OpenDS.dev.java.net/OpenDS.LICENSE. |
| | | ! See the License for the specific language governing permissions |
| | | ! and limitations under the License. |
| | | ! |
| | | ! When distributing Covered Code, include this CDDL HEADER in each |
| | | ! file and include the License file at |
| | | ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable, |
| | | ! add the following below this CDDL HEADER, with the fields enclosed |
| | | ! by brackets "[]" replaced with your own identifying information: |
| | | ! Portions Copyright [yyyy] [name of copyright owner] |
| | | ! |
| | | ! CDDL HEADER END |
| | | ! |
| | | ! |
| | | ! Portions Copyright 2007 Sun Microsystems, Inc. |
| | | ! --> |
| | | |
| | | <adm:managed-object |
| | | name="who-am-i-extended-operation-handler" |
| | | plural-name="who-am-i-extended-operation-handlers" |
| | | package="org.opends.server.admin.std" |
| | | extends="extended-operation-handler" |
| | | xmlns:adm="http://www.opends.org/admin" |
| | | xmlns:ldap="http://www.opends.org/admin-ldap"> |
| | | |
| | | <adm:synopsis> |
| | | The <adm:user-friendly-name /> provides the ability for clients to request |
| | | their authorization identity using the "Who Am I?" extended operation as |
| | | defined in RFC 4532. |
| | | </adm:synopsis> |
| | | |
| | | <adm:profile name="ldap"> |
| | | <ldap:object-class> |
| | | <ldap:oid>1.3.6.1.4.1.26027.1.2.135</ldap:oid> |
| | | <ldap:name>ds-cfg-who-am-i-extended-operation-handler</ldap:name> |
| | | <ldap:superior>ds-cfg-extended-operation-handler</ldap:superior> |
| | | </ldap:object-class> |
| | | </adm:profile> |
| | | |
| | | <adm:property-override name="java-implementation-class"> |
| | | <adm:default-behavior> |
| | | <adm:defined> |
| | | <adm:value> |
| | | org.opends.server.extensions.WhoAmIExtendedOperation |
| | | </adm:value> |
| | | </adm:defined> |
| | | </adm:default-behavior> |
| | | </adm:property-override> |
| | | |
| | | </adm:managed-object> |
| | | |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.backends; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import java.util.*; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.admin.std.server.MemoryBackendCfg; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.AddOperation; |
| | |
| | | import org.opends.server.core.ModifyOperation; |
| | | import org.opends.server.core.ModifyDNOperation; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.BackupConfig; |
| | | import org.opends.server.types.BackupDirectory; |
| | | import org.opends.server.types.ConditionResult; |
| | | import org.opends.server.types.Control; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.LDIFExportConfig; |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.LDIFImportResult; |
| | | import org.opends.server.types.RestoreConfig; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchScope; |
| | | import org.opends.server.util.LDIFException; |
| | | import org.opends.server.util.LDIFReader; |
| | | import org.opends.server.util.LDIFWriter; |
| | | import org.opends.server.util.Validator; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.*; |
| | | |
| | | import static org.opends.messages.BackendMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import org.opends.server.admin.std.server.BackendCfg; |
| | | import org.opends.server.admin.Configuration; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | { |
| | | if (config != null) |
| | | { |
| | | Validator.ensureTrue(config instanceof BackendCfg); |
| | | BackendCfg cfg = (BackendCfg)config; |
| | | Validator.ensureTrue(config instanceof MemoryBackendCfg); |
| | | MemoryBackendCfg cfg = (MemoryBackendCfg)config; |
| | | DN[] baseDNs = new DN[cfg.getBackendBaseDN().size()]; |
| | | cfg.getBackendBaseDN().toArray(baseDNs); |
| | | setBaseDNs(baseDNs); |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.backends; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.Configuration; |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.std.server.MonitorBackendCfg; |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.api.MonitorProvider; |
| | |
| | | import org.opends.server.core.ModifyOperation; |
| | | import org.opends.server.core.ModifyDNOperation; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.protocols.asn1.ASN1OctetString; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.BackupConfig; |
| | | import org.opends.server.types.BackupDirectory; |
| | | import org.opends.server.types.ConditionResult; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.LDIFExportConfig; |
| | | import org.opends.server.types.LDIFImportConfig; |
| | | import org.opends.server.types.LDIFImportResult; |
| | | import org.opends.server.types.ObjectClass; |
| | | import org.opends.server.types.RDN; |
| | | import org.opends.server.types.RestoreConfig; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchScope; |
| | | import org.opends.server.util.DynamicConstants; |
| | | import org.opends.server.util.LDIFWriter; |
| | | import org.opends.server.util.TimeThread; |
| | | import org.opends.server.util.Validator; |
| | | |
| | | |
| | | import static org.opends.server.config.ConfigConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.*; |
| | | import static org.opends.messages.BackendMessages.*; |
| | | import static org.opends.messages.ConfigMessages.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.std.server.BackendCfg; |
| | | import org.opends.server.admin.Configuration; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | public class MonitorBackend |
| | | extends Backend |
| | | implements ConfigurationChangeListener<BackendCfg> |
| | | implements ConfigurationChangeListener<MonitorBackendCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | private DN configEntryDN; |
| | | |
| | | // The current configuration state. |
| | | private BackendCfg currentConfig; |
| | | private MonitorBackendCfg currentConfig; |
| | | |
| | | // The DN for the base monitor entry. |
| | | private DN baseMonitorDN; |
| | |
| | | public void configureBackend(Configuration config) throws ConfigException |
| | | { |
| | | Validator.ensureNotNull(config); |
| | | Validator.ensureTrue(config instanceof BackendCfg); |
| | | Validator.ensureTrue(config instanceof MonitorBackendCfg); |
| | | |
| | | BackendCfg cfg = (BackendCfg)config; |
| | | MonitorBackendCfg cfg = (MonitorBackendCfg)config; |
| | | ConfigEntry configEntry = DirectoryServer.getConfigEntry(cfg.dn()); |
| | | |
| | | |
| | |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // Register with the Directory Server as a configurable component. |
| | | currentConfig.addChangeListener(this); |
| | | currentConfig.addMonitorChangeListener(this); |
| | | |
| | | |
| | | // Register the monitor base as a private suffix. |
| | |
| | | */ |
| | | public void finalizeBackend() |
| | | { |
| | | currentConfig.removeChangeListener(this); |
| | | currentConfig.removeMonitorChangeListener(this); |
| | | |
| | | try |
| | | { |
| | |
| | | * configuration for this component, or <CODE>false</CODE> if not. |
| | | */ |
| | | public boolean isConfigurationChangeAcceptable( |
| | | BackendCfg backendCfg, |
| | | MonitorBackendCfg backendCfg, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | // We'll pretty much accept anything here as long as it isn't one of our |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ConfigChangeResult applyConfigurationChange(BackendCfg backendCfg) |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | MonitorBackendCfg backendCfg) |
| | | { |
| | | ResultCode resultCode = ResultCode.SUCCESS; |
| | | boolean adminActionRequired = false; |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import org.opends.messages.MessageBuilder; |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.SASLMechanismHandlerCfg; |
| | | import org.opends.server.admin.std.server.AnonymousSASLMechanismHandlerCfg; |
| | | import org.opends.server.api.SASLMechanismHandler; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.BindOperation; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.types.AuthenticationInfo; |
| | | import org.opends.server.types.ByteString; |
| | | |
| | | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | |
| | | import static org.opends.server.loggers.ErrorLogger.*; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.ErrorLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | |
| | | |
| | |
| | | * then that trace information will be written to the server error log. |
| | | */ |
| | | public class AnonymousSASLMechanismHandler |
| | | extends SASLMechanismHandler<SASLMechanismHandlerCfg> |
| | | extends SASLMechanismHandler<AnonymousSASLMechanismHandlerCfg> |
| | | { |
| | | /** |
| | | * Creates a new instance of this SASL mechanism handler. No initialization |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void initializeSASLMechanismHandler(SASLMechanismHandlerCfg |
| | | public void initializeSASLMechanismHandler(AnonymousSASLMechanismHandlerCfg |
| | | configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.server.Base64PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class defines a Directory Server password storage scheme that will store |
| | | * the values in base64-encoded form. This is a reversible algorithm that |
| | |
| | | * value from the casual observer. |
| | | */ |
| | | public class Base64PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<Base64PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this password storage scheme. Note that no |
| | | * initialization should be performed here, as all initialization should be |
| | |
| | | public Base64PasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | Base64PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | | } |
| | |
| | | import javax.net.ssl.TrustManager; |
| | | import javax.net.ssl.X509TrustManager; |
| | | |
| | | import org.opends.server.admin.std.server.TrustManagerCfg; |
| | | import org.opends.server.admin.std.server.BlindTrustManagerCfg; |
| | | import org.opends.server.api.TrustManagerProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.DirectoryException; |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class provides an implementation of a trust manager provider that will |
| | | * indicate that any certificate presented should be blindly trusted by the |
| | |
| | | * trustworthy. |
| | | */ |
| | | public class BlindTrustManagerProvider |
| | | extends TrustManagerProvider<TrustManagerCfg> |
| | | extends TrustManagerProvider<BlindTrustManagerCfg> |
| | | implements X509TrustManager |
| | | { |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this blind trust manager provider. The |
| | | * <CODE>initializeTrustManagerProvider</CODE> method must be called on the |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public void initializeTrustManagerProvider(TrustManagerCfg configuration) |
| | | public void initializeTrustManagerProvider(BlindTrustManagerCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No implementation is required. |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.messages.MessageBuilder; |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.CancelExtendedOperationHandlerCfg; |
| | | import org.opends.server.api.ClientConnection; |
| | | import org.opends.server.api.ExtendedOperationHandler; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.ExtendedOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.protocols.asn1.ASN1Sequence; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.CancelRequest; |
| | | import org.opends.server.types.CancelResult; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import org.opends.server.admin.std.server.ExtendedOperationHandlerCfg; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | * successful the abandoned operation won't get one either). |
| | | */ |
| | | public class CancelExtendedOperation |
| | | extends ExtendedOperationHandler<ExtendedOperationHandlerCfg> |
| | | extends ExtendedOperationHandler<CancelExtendedOperationHandlerCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * Create an instance of this cancel extended operation. All initialization |
| | | * should be performed in the <CODE>initializeExtendedOperationHandler</CODE> |
| | |
| | | public CancelExtendedOperation() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | * configuration. |
| | | */ |
| | | public void initializeExtendedOperationHandler( |
| | | ExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | CancelExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No special configuration is required. |
| | | |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import java.util.Arrays; |
| | | |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.server.ClearPasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.ByteString; |
| | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import java.util.Arrays; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | |
| | | |
| | | |
| | |
| | | * applications. |
| | | */ |
| | | public class ClearPasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<ClearPasswordStorageSchemeCfg> |
| | | { |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this password storage scheme. Note that no |
| | | * initialization should be performed here, as all initialization should be |
| | |
| | | public ClearPasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | ClearPasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | | } |
| | |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.StaticUtils.stackTraceToSingleLineString; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.Random; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.CryptPasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Crypt; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.util.StaticUtils.stackTraceToSingleLineString; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | * vulnerable to dictionary attacks than schemes with larger salts. |
| | | */ |
| | | public class CryptPasswordStorageScheme |
| | | extends PasswordStorageScheme |
| | | extends PasswordStorageScheme<CryptPasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The fully-qualified name of this class for debugging purposes. |
| | |
| | | private final ReentrantLock saltLock = new ReentrantLock(); |
| | | private final Crypt crypt = new Crypt(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this password storage scheme. Note that no |
| | | * initialization should be performed here, as all initialization should be |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException { |
| | | CryptPasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException { |
| | | // Nothing to configure |
| | | } |
| | | |
| | |
| | | return false; |
| | | } |
| | | } |
| | | |
| | |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.server.admin.std.server.GroupImplementationCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.DynamicGroupImplementationCfg; |
| | | import org.opends.server.api.Group; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchScope; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.config.ConfigConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.Validator.*; |
| | | |
| | |
| | | * specifying the membership criteria. |
| | | */ |
| | | public class DynamicGroup |
| | | extends Group<GroupImplementationCfg> |
| | | extends Group<DynamicGroupImplementationCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeGroupImplementation( |
| | | GroupImplementationCfg configuration) |
| | | DynamicGroupImplementationCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No additional initialization is required. |
| | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.std.server.VirtualAttributeCfg; |
| | | import org.opends.server.admin.std.server.EntryDNVirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteString; |
| | |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | |
| | | |
| | |
| | | * entryDN operational attribute as described in draft-zeilenga-ldap-entrydn. |
| | | */ |
| | | public class EntryDNVirtualAttributeProvider |
| | | extends VirtualAttributeProvider<VirtualAttributeCfg> |
| | | extends VirtualAttributeProvider<EntryDNVirtualAttributeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeVirtualAttributeProvider( |
| | | VirtualAttributeCfg configuration) |
| | | EntryDNVirtualAttributeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.UUID; |
| | | |
| | | import org.opends.server.admin.std.server.VirtualAttributeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.EntryUUIDVirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.SearchOperation; |
| | |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | |
| | | * time the entries are added or imported. |
| | | */ |
| | | public class EntryUUIDVirtualAttributeProvider |
| | | extends VirtualAttributeProvider<VirtualAttributeCfg> |
| | | extends VirtualAttributeProvider<EntryUUIDVirtualAttributeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeVirtualAttributeProvider( |
| | | VirtualAttributeCfg configuration) |
| | | EntryUUIDVirtualAttributeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.ExtendedOperationHandlerCfg; |
| | | import org.opends.server.admin.std.server. |
| | | GetConnectionIdExtendedOperationHandlerCfg; |
| | | import org.opends.server.api.ExtendedOperationHandler; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | * used to get the connection ID of the associated client connection. |
| | | */ |
| | | public class GetConnectionIDExtendedOperation |
| | | extends ExtendedOperationHandler<ExtendedOperationHandlerCfg> |
| | | extends ExtendedOperationHandler< |
| | | GetConnectionIdExtendedOperationHandlerCfg> |
| | | { |
| | | /** |
| | | * Create an instance of this "Get Connection ID" extended operation. All |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeExtendedOperationHandler( |
| | | ExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | GetConnectionIdExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No special configuration is required. |
| | | |
| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | import org.opends.server.admin.std.server.VirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.server.loggers.debug.DebugLogger.getTracer; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.*; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.messages.Message; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | |
| | | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.HasSubordinatesVirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.ConditionResult; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.getTracer; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class implements a virtual attribute provider that is meant to serve the |
| | | * hasSubordinates operational attribute as described in X.501. |
| | | */ |
| | | public class HasSubordinatesVirtualAttributeProvider |
| | | extends VirtualAttributeProvider<VirtualAttributeCfg> |
| | | extends VirtualAttributeProvider<HasSubordinatesVirtualAttributeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeVirtualAttributeProvider( |
| | | VirtualAttributeCfg configuration) |
| | | HasSubordinatesVirtualAttributeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | searchOperation.appendErrorMessage(message); |
| | | } |
| | | } |
| | | |
| | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.std.server.VirtualAttributeCfg; |
| | | import org.opends.server.admin.std.server.IsMemberOfVirtualAttributeCfg; |
| | | import org.opends.server.api.Group; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteString; |
| | |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | |
| | | |
| | |
| | | * list of all groups in which the specified user is a member. |
| | | */ |
| | | public class IsMemberOfVirtualAttributeProvider |
| | | extends VirtualAttributeProvider<VirtualAttributeCfg> |
| | | extends VirtualAttributeProvider<IsMemberOfVirtualAttributeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeVirtualAttributeProvider( |
| | | VirtualAttributeCfg configuration) |
| | | IsMemberOfVirtualAttributeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.std.server.AlertHandlerCfg; |
| | | import org.opends.server.admin.std.server.JMXAlertHandlerCfg; |
| | | import org.opends.server.api.AlertGenerator; |
| | | import org.opends.server.api.AlertHandler; |
| | | import org.opends.server.api.DirectoryServerMBean; |
| | |
| | | */ |
| | | public class JMXAlertHandler |
| | | extends NotificationBroadcasterSupport |
| | | implements AlertHandler<AlertHandlerCfg>, |
| | | ConfigurationChangeListener<AlertHandlerCfg>, DynamicMBean, |
| | | implements AlertHandler<JMXAlertHandlerCfg>, |
| | | ConfigurationChangeListener<JMXAlertHandlerCfg>, DynamicMBean, |
| | | DirectoryServerMBean |
| | | { |
| | | /** |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeAlertHandler(AlertHandlerCfg configuration) |
| | | public void initializeAlertHandler(JMXAlertHandlerCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | sequenceNumber = new AtomicLong(1); |
| | |
| | | |
| | | if (configuration != null) |
| | | { |
| | | configuration.addChangeListener(this); |
| | | configuration.addJMXChangeListener(this); |
| | | currentConfig = configuration; |
| | | } |
| | | } |
| | |
| | | public boolean isConfigurationAcceptable(AlertHandlerCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | return true; |
| | | JMXAlertHandlerCfg cfg = (JMXAlertHandlerCfg) configuration; |
| | | return isConfigurationChangeAcceptable(cfg, unacceptableReasons); |
| | | } |
| | | |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean isConfigurationChangeAcceptable(AlertHandlerCfg configuration, |
| | | public boolean isConfigurationChangeAcceptable( |
| | | JMXAlertHandlerCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | return true; |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | AlertHandlerCfg configuration) |
| | | JMXAlertHandlerCfg configuration) |
| | | { |
| | | currentConfig = configuration; |
| | | |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.MD5PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | |
| | | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.ErrorLogger.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * vulnerable to dictionary attacks than salted variants. |
| | | */ |
| | | public class MD5PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<MD5PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | MD5PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | import org.opends.server.admin.std.server.VirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.server.loggers.debug.DebugLogger.getTracer; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.types.*; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.messages.Message; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | |
| | | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.NumSubordinatesVirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.api.Backend; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.ConditionResult; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.getTracer; |
| | | import static org.opends.server.loggers.debug.DebugLogger.debugEnabled; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class implements a virtual attribute provider that is meant to serve the |
| | | * hasSubordinates operational attribute as described in |
| | | * draft-ietf-boreham-numsubordinates. |
| | | */ |
| | | public class NumSubordinatesVirtualAttributeProvider |
| | | extends VirtualAttributeProvider<VirtualAttributeCfg> |
| | | extends VirtualAttributeProvider<NumSubordinatesVirtualAttributeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeVirtualAttributeProvider( |
| | | VirtualAttributeCfg configuration) |
| | | NumSubordinatesVirtualAttributeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | searchOperation.appendErrorMessage(message); |
| | | } |
| | | } |
| | | |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.std.server.ExtendedOperationHandlerCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server. |
| | | PasswordPolicyStateExtendedOperationHandlerCfg; |
| | | import org.opends.server.api.ClientConnection; |
| | | import org.opends.server.api.ExtendedOperationHandler; |
| | | import org.opends.server.config.ConfigException; |
| | |
| | | import org.opends.server.types.SearchResultEntry; |
| | | import org.opends.server.types.SearchScope; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | |
| | | * set*, add*, remove*, or clear* operation). |
| | | */ |
| | | public class PasswordPolicyStateExtendedOperation |
| | | extends ExtendedOperationHandler<ExtendedOperationHandlerCfg> |
| | | extends ExtendedOperationHandler< |
| | | PasswordPolicyStateExtendedOperationHandlerCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | * configuration. |
| | | */ |
| | | public void initializeExtendedOperationHandler( |
| | | ExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | PasswordPolicyStateExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // Construct the filter that will be used to retrieve user entries. |
| | | try |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SHA1PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | |
| | | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.ErrorLogger.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * vulnerable to dictionary attacks than salted variants. |
| | | */ |
| | | public class SHA1PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<SHA1PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | public SHA1PasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | SHA1PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SaltedMD5PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * appended to the hash, and then the entire value is base64-encoded. |
| | | */ |
| | | public class SaltedMD5PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<SaltedMD5PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | SaltedMD5PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SaltedSHA1PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * appended to the hash, and then the entire value is base64-encoded. |
| | | */ |
| | | public class SaltedSHA1PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<SaltedSHA1PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | public SaltedSHA1PasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | SaltedSHA1PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SaltedSHA256PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * is appended to the hash, and then the entire value is base64-encoded. |
| | | */ |
| | | public class SaltedSHA256PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<SaltedSHA256PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | public SaltedSHA256PasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | SaltedSHA256PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SaltedSHA384PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * is appended to the hash, and then the entire value is base64-encoded. |
| | | */ |
| | | public class SaltedSHA384PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<SaltedSHA384PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | public SaltedSHA384PasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | SaltedSHA384PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Arrays; |
| | | import java.util.concurrent.locks.ReentrantLock; |
| | | |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SaltedSHA512PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | import org.opends.server.util.Base64; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.extensions.ExtensionsConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * is appended to the hash, and then the entire value is base64-encoded. |
| | | */ |
| | | public class SaltedSHA512PasswordStorageScheme |
| | | extends PasswordStorageScheme <PasswordStorageSchemeCfg> |
| | | extends PasswordStorageScheme<SaltedSHA512PasswordStorageSchemeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | public SaltedSHA512PasswordStorageScheme() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public void initializePasswordStorageScheme( |
| | | PasswordStorageSchemeCfg configuration |
| | | ) |
| | | throws ConfigException, InitializationException |
| | | SaltedSHA512PasswordStorageSchemeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | try |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import org.opends.messages.MessageBuilder; |
| | | |
| | | |
| | | import org.opends.server.admin.std.server.StartTLSExtendedOperationHandlerCfg; |
| | | import org.opends.server.api.ClientConnection; |
| | | import org.opends.server.api.ExtendedOperationHandler; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.ExtendedOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DisconnectReason; |
| | | |
| | | |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.ResultCode; |
| | | |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.server.loggers.ErrorLogger.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | import org.opends.server.admin.std.server.ExtendedOperationHandlerCfg; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | * client. |
| | | */ |
| | | public class StartTLSExtendedOperation |
| | | extends ExtendedOperationHandler<ExtendedOperationHandlerCfg> |
| | | extends ExtendedOperationHandler<StartTLSExtendedOperationHandlerCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * Create an instance of this StartTLS extended operation handler. All |
| | | * initialization should be performed in the |
| | |
| | | public StartTLSExtendedOperation() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | * configuration. |
| | | */ |
| | | public void initializeExtendedOperationHandler( |
| | | ExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | StartTLSExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // FIXME -- Are there any configurable options that we should support? |
| | | DirectoryServer.registerSupportedExtension(OID_START_TLS_REQUEST, this); |
| | |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | |
| | | |
| | | |
| | | import java.util.Collections; |
| | | import java.util.LinkedHashSet; |
| | | import java.util.LinkedList; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import java.util.*; |
| | | |
| | | import org.opends.server.admin.std.server.GroupImplementationCfg; |
| | | import org.opends.server.admin.std.server.StaticGroupImplementationCfg; |
| | | import org.opends.server.api.Group; |
| | | import org.opends.server.core.ModifyOperationBasis; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.Control; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryConfig; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.types.MemberList; |
| | | import org.opends.server.types.MembershipException; |
| | | import org.opends.server.types.Modification; |
| | | import org.opends.server.types.ModificationType; |
| | | import org.opends.server.types.ObjectClass; |
| | |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchScope; |
| | | |
| | | import org.opends.server.types.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.Validator.*; |
| | | |
| | |
| | | * stores the member list in the {@code uniqueMember} attribute. |
| | | */ |
| | | public class StaticGroup |
| | | extends Group<GroupImplementationCfg> |
| | | extends Group<StaticGroupImplementationCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | private long nestedGroupRefreshToken = |
| | | DirectoryServer.getGroupManager().refreshToken(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new, uninitialized static group instance. This is intended for |
| | | * internal use only. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeGroupImplementation( |
| | | GroupImplementationCfg configuration) |
| | | StaticGroupImplementationCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No additional initialization is required. |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import javax.security.auth.x500.X500Principal; |
| | | import java.util.concurrent.locks.Lock; |
| | | |
| | | import org.opends.server.admin.std.server.CertificateMapperCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SubjectEqualsDNCertificateMapperCfg; |
| | | import org.opends.server.api.CertificateMapper; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DN; |
| | | import org.opends.server.types.Entry; |
| | |
| | | import org.opends.server.types.ResultCode; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | |
| | | * exactly matches the DN of a user in the Directory Server. |
| | | */ |
| | | public class SubjectEqualsDNCertificateMapper |
| | | extends CertificateMapper<CertificateMapperCfg> |
| | | extends CertificateMapper<SubjectEqualsDNCertificateMapperCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeCertificateMapper(CertificateMapperCfg |
| | | public void initializeCertificateMapper(SubjectEqualsDNCertificateMapperCfg |
| | | configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | |
| | | import org.opends.server.admin.std.server.VirtualAttributeCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.SubschemaSubentryVirtualAttributeCfg; |
| | | import org.opends.server.api.VirtualAttributeProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteString; |
| | | import org.opends.server.types.ConditionResult; |
| | |
| | | import org.opends.server.types.VirtualAttributeRule; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | |
| | |
| | | * subschemaSubentry operational attribute as described in RFC 4512. |
| | | */ |
| | | public class SubschemaSubentryVirtualAttributeProvider |
| | | extends VirtualAttributeProvider<VirtualAttributeCfg> |
| | | extends VirtualAttributeProvider<SubschemaSubentryVirtualAttributeCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | | */ |
| | | private static final DebugTracer TRACER = getTracer(); |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this subschemaSubentry virtual attribute |
| | | * provider. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeVirtualAttributeProvider( |
| | | VirtualAttributeCfg configuration) |
| | | SubschemaSubentryVirtualAttributeCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | * Portions Copyright 2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.server.admin.std.server.GroupImplementationCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.VirtualStaticGroupImplementationCfg; |
| | | import org.opends.server.api.Group; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | |
| | | import org.opends.server.types.SearchFilter; |
| | | import org.opends.server.types.SearchScope; |
| | | |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.config.ConfigConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.messages.ExtensionMessages.*; |
| | | import static org.opends.server.util.ServerConstants.*; |
| | | import static org.opends.server.util.Validator.*; |
| | | |
| | |
| | | * membership is based on membership of another group. |
| | | */ |
| | | public class VirtualStaticGroup |
| | | extends Group<GroupImplementationCfg> |
| | | extends Group<VirtualStaticGroupImplementationCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | */ |
| | | @Override() |
| | | public void initializeGroupImplementation( |
| | | GroupImplementationCfg configuration) |
| | | VirtualStaticGroupImplementationCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No additional initialization is required. |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.extensions; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.server.admin.std.server.ExtendedOperationHandlerCfg; |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.WhoAmIExtendedOperationHandlerCfg; |
| | | import org.opends.server.api.ClientConnection; |
| | | import org.opends.server.api.ExtendedOperationHandler; |
| | | import org.opends.server.config.ConfigException; |
| | |
| | | * It simply returns the authorized ID of the currently-authenticated user. |
| | | */ |
| | | public class WhoAmIExtendedOperation |
| | | extends ExtendedOperationHandler<ExtendedOperationHandlerCfg> |
| | | extends ExtendedOperationHandler<WhoAmIExtendedOperationHandlerCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | * configuration. |
| | | */ |
| | | public void initializeExtendedOperationHandler( |
| | | ExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | WhoAmIExtendedOperationHandlerCfg config) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No special configuration is required. |
| | | |
| | |
| | | import java.util.TreeMap; |
| | | |
| | | import org.opends.server.admin.std.server.ConnectionHandlerCfg; |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.admin.std.server.ClientConnectionMonitorProviderCfg; |
| | | import org.opends.server.api.ClientConnection; |
| | | import org.opends.server.api.ConnectionHandler; |
| | | import org.opends.server.api.MonitorProvider; |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class defines a Directory Server monitor provider that can be used to |
| | | * obtain information about the client connections established to the server. |
| | |
| | | * it may not be entirely consistent, especially for active connections. |
| | | */ |
| | | public class ClientConnectionMonitorProvider |
| | | extends MonitorProvider<MonitorProviderCfg> |
| | | extends MonitorProvider<ClientConnectionMonitorProviderCfg> |
| | | { |
| | | /** |
| | | * Creates an instance of this monitor provider. |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | public void initializeMonitorProvider( |
| | | ClientConnectionMonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | import java.util.Map.Entry; |
| | | import java.util.TreeMap; |
| | | |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.admin.std.server.StackTraceMonitorProviderCfg; |
| | | import org.opends.server.api.MonitorProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class defines a Directory Server monitor provider that can be used to |
| | | * obtain a stack trace from all server threads that are currently defined in |
| | | * the JVM. |
| | | */ |
| | | public class StackTraceMonitorProvider |
| | | extends MonitorProvider<MonitorProviderCfg> |
| | | extends MonitorProvider<StackTraceMonitorProviderCfg> |
| | | { |
| | | /** |
| | | * Initializes this monitor provider. |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | public void initializeMonitorProvider( |
| | | StackTraceMonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.LinkedHashSet; |
| | | |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.admin.std.server.SystemInfoMonitorProviderCfg; |
| | | import org.opends.server.api.MonitorProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.protocols.asn1.ASN1OctetString; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.InitializationException; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | |
| | | |
| | | |
| | |
| | | * Server is running. |
| | | */ |
| | | public class SystemInfoMonitorProvider |
| | | extends MonitorProvider<MonitorProviderCfg> |
| | | extends MonitorProvider<SystemInfoMonitorProviderCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * Initializes this monitor provider. |
| | | */ |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | public void initializeMonitorProvider( |
| | | SystemInfoMonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.LinkedHashSet; |
| | | |
| | | import org.opends.server.admin.std.server.MonitorProviderCfg; |
| | | import org.opends.server.admin.std.server.VersionMonitorProviderCfg; |
| | | import org.opends.server.api.MonitorProvider; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.core.DirectoryServer; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.protocols.asn1.ASN1OctetString; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.InitializationException; |
| | | import org.opends.server.util.DynamicConstants; |
| | | |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | |
| | | |
| | | |
| | |
| | | * information. |
| | | */ |
| | | public class VersionMonitorProvider |
| | | extends MonitorProvider<MonitorProviderCfg> |
| | | extends MonitorProvider<VersionMonitorProviderCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public void initializeMonitorProvider(MonitorProviderCfg configuration) |
| | | public void initializeMonitorProvider(VersionMonitorProviderCfg configuration) |
| | | throws ConfigException, InitializationException |
| | | { |
| | | // No initialization is required. |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.plugins; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.Set; |
| | | import java.util.UUID; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.std.meta.PluginCfgDefn; |
| | | import org.opends.server.admin.std.server.EntryUUIDPluginCfg; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.LDIFPluginResult; |
| | |
| | | import org.opends.server.types.operation.PreOperationAddOperation; |
| | | |
| | | import static org.opends.messages.PluginMessages.*; |
| | | |
| | | import static org.opends.server.util.StaticUtils.*; |
| | | |
| | | |
| | |
| | | * will have identical entryUUID values. |
| | | */ |
| | | public final class EntryUUIDPlugin |
| | | extends DirectoryServerPlugin<PluginCfg> |
| | | implements ConfigurationChangeListener<PluginCfg> |
| | | extends DirectoryServerPlugin<EntryUUIDPluginCfg> |
| | | implements ConfigurationChangeListener<EntryUUIDPluginCfg> |
| | | { |
| | | /** |
| | | * The name of the entryUUID attribute type. |
| | |
| | | // The attribute type for the "entryUUID" attribute. |
| | | private final AttributeType entryUUIDType; |
| | | |
| | | // The current configuration for this plugin. |
| | | private EntryUUIDPluginCfg currentConfig; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | |
| | | // Get the entryUUID attribute type. This needs to be done in the |
| | | // constructor in order to make the associated variables "final". |
| | | AttributeType at = DirectoryConfig.getAttributeType(ENTRYUUID, |
| | | false); |
| | | AttributeType at = DirectoryConfig.getAttributeType(ENTRYUUID, false); |
| | | if (at == null) |
| | | { |
| | | String definition = |
| | |
| | | */ |
| | | @Override() |
| | | public final void initializePlugin(Set<PluginType> pluginTypes, |
| | | PluginCfg configuration) |
| | | EntryUUIDPluginCfg configuration) |
| | | throws ConfigException |
| | | { |
| | | configuration.addChangeListener(this); |
| | | currentConfig = configuration; |
| | | configuration.addEntryUUIDChangeListener(this); |
| | | |
| | | // Make sure that the plugin has been enabled for the appropriate types. |
| | | for (PluginType t : pluginTypes) |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final void finalizePlugin() |
| | | { |
| | | currentConfig.removeEntryUUIDChangeListener(this); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final LDIFPluginResult doLDIFImport(LDIFImportConfig importConfig, |
| | | Entry entry) |
| | | { |
| | |
| | | public boolean isConfigurationAcceptable(PluginCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | return isConfigurationChangeAcceptable(configuration, unacceptableReasons); |
| | | EntryUUIDPluginCfg cfg = (EntryUUIDPluginCfg) configuration; |
| | | return isConfigurationChangeAcceptable(cfg, unacceptableReasons); |
| | | } |
| | | |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean isConfigurationChangeAcceptable(PluginCfg configuration, |
| | | public boolean isConfigurationChangeAcceptable( |
| | | EntryUUIDPluginCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | boolean configAcceptable = true; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ConfigChangeResult applyConfigurationChange(PluginCfg configuration) |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | EntryUUIDPluginCfg configuration) |
| | | { |
| | | // No implementation is required. |
| | | currentConfig = configuration; |
| | | return new ConfigChangeResult(ResultCode.SUCCESS, false); |
| | | } |
| | | } |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.plugins; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | import java.util.LinkedHashSet; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.std.meta.PluginCfgDefn; |
| | | import org.opends.server.admin.std.server.LDAPAttributeDescriptionListPluginCfg; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginType; |
| | |
| | | * object class identifier from an attribute descriptions. |
| | | */ |
| | | public final class LDAPADListPlugin |
| | | extends DirectoryServerPlugin<PluginCfg> |
| | | implements ConfigurationChangeListener<PluginCfg> |
| | | extends DirectoryServerPlugin<LDAPAttributeDescriptionListPluginCfg> |
| | | implements ConfigurationChangeListener< |
| | | LDAPAttributeDescriptionListPluginCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | | */ |
| | | private static final DebugTracer TRACER = getTracer(); |
| | | |
| | | |
| | | |
| | | // The current configuration for this plugin. |
| | | private LDAPAttributeDescriptionListPluginCfg currentConfig; |
| | | |
| | | |
| | | |
| | | /** |
| | | * Creates a new instance of this Directory Server plugin. Every plugin must |
| | | * implement a default constructor (it is the only one that will be used to |
| | |
| | | public LDAPADListPlugin() |
| | | { |
| | | super(); |
| | | |
| | | } |
| | | |
| | | |
| | |
| | | */ |
| | | @Override() |
| | | public final void initializePlugin(Set<PluginType> pluginTypes, |
| | | PluginCfg configuration) |
| | | LDAPAttributeDescriptionListPluginCfg configuration) |
| | | throws ConfigException |
| | | { |
| | | configuration.addChangeListener(this); |
| | | currentConfig = configuration; |
| | | configuration.addLDAPAttributeDescriptionListChangeListener(this); |
| | | |
| | | // The set of plugin types must contain only the pre-parse search element. |
| | | if (pluginTypes.isEmpty()) |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final void finalizePlugin() |
| | | { |
| | | currentConfig.removeLDAPAttributeDescriptionListChangeListener(this); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final PreParsePluginResult |
| | | doPreParse(PreParseSearchOperation searchOperation) |
| | | { |
| | |
| | | public boolean isConfigurationAcceptable(PluginCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | return isConfigurationChangeAcceptable(configuration, unacceptableReasons); |
| | | LDAPAttributeDescriptionListPluginCfg cfg = |
| | | (LDAPAttributeDescriptionListPluginCfg) configuration; |
| | | return isConfigurationChangeAcceptable(cfg, unacceptableReasons); |
| | | } |
| | | |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean isConfigurationChangeAcceptable(PluginCfg configuration, |
| | | public boolean isConfigurationChangeAcceptable( |
| | | LDAPAttributeDescriptionListPluginCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | boolean configAcceptable = true; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ConfigChangeResult applyConfigurationChange(PluginCfg configuration) |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | LDAPAttributeDescriptionListPluginCfg |
| | | configuration) |
| | | { |
| | | // No implementation is required. |
| | | currentConfig = configuration; |
| | | return new ConfigChangeResult(ResultCode.SUCCESS, false); |
| | | } |
| | | } |
| | |
| | | * Portions Copyright 2006-2007 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.plugins; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | |
| | |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.server.ConfigurationChangeListener; |
| | | import org.opends.server.admin.std.meta.PluginCfgDefn; |
| | | import org.opends.server.admin.std.server.LastModPluginCfg; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.api.plugin.PreOperationPluginResult; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | | import org.opends.server.types.ByteStringFactory; |
| | | import org.opends.server.types.ConfigChangeResult; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import org.opends.server.types.DirectoryConfig; |
| | | import org.opends.server.types.DirectoryException; |
| | | import org.opends.server.types.DN; |
| | |
| | | import org.opends.server.types.operation.PreOperationModifyOperation; |
| | | import org.opends.server.types.operation.PreOperationModifyDNOperation; |
| | | |
| | | import static org.opends.server.config.ConfigConstants.*; |
| | | import org.opends.server.types.DebugLogLevel; |
| | | import static org.opends.messages.PluginMessages.*; |
| | | |
| | | import static org.opends.server.util.TimeThread.*; |
| | | import static org.opends.server.config.ConfigConstants.*; |
| | | import static org.opends.server.loggers.debug.DebugLogger.*; |
| | | import org.opends.server.loggers.debug.DebugTracer; |
| | | import static org.opends.server.util.TimeThread.*; |
| | | |
| | | |
| | | |
| | | /** |
| | | * This class implements a Directory Server plugin that will add the |
| | |
| | | * whenever the entry is modified or renamed. |
| | | */ |
| | | public final class LastModPlugin |
| | | extends DirectoryServerPlugin<PluginCfg> |
| | | implements ConfigurationChangeListener<PluginCfg> |
| | | extends DirectoryServerPlugin<LastModPluginCfg> |
| | | implements ConfigurationChangeListener<LastModPluginCfg> |
| | | { |
| | | /** |
| | | * The tracer object for the debug logger. |
| | |
| | | // The attribute type for the "modifyTimestamp" attribute. |
| | | private final AttributeType modifyTimestampType; |
| | | |
| | | // The current configuration for this plugin. |
| | | private LastModPluginCfg currentConfig; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | super(); |
| | | |
| | | |
| | | |
| | | // Get the attribute types for the attributes that we will use. This needs |
| | | // to be done in the constructor in order to make the associated variables |
| | | // "final". |
| | |
| | | */ |
| | | @Override() |
| | | public final void initializePlugin(Set<PluginType> pluginTypes, |
| | | PluginCfg configuration) |
| | | LastModPluginCfg configuration) |
| | | throws ConfigException |
| | | { |
| | | configuration.addChangeListener(this); |
| | | currentConfig = configuration; |
| | | configuration.addLastModChangeListener(this); |
| | | |
| | | // Make sure that the plugin has been enabled for the appropriate types. |
| | | for (PluginType t : pluginTypes) |
| | |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final void finalizePlugin() |
| | | { |
| | | currentConfig.removeLastModChangeListener(this); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override() |
| | | public final PreOperationPluginResult |
| | | doPreOperation(PreOperationAddOperation addOperation) |
| | | { |
| | |
| | | public boolean isConfigurationAcceptable(PluginCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | return isConfigurationChangeAcceptable(configuration, unacceptableReasons); |
| | | LastModPluginCfg cfg = (LastModPluginCfg) configuration; |
| | | return isConfigurationChangeAcceptable(cfg, unacceptableReasons); |
| | | } |
| | | |
| | | |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public boolean isConfigurationChangeAcceptable(PluginCfg configuration, |
| | | public boolean isConfigurationChangeAcceptable(LastModPluginCfg configuration, |
| | | List<Message> unacceptableReasons) |
| | | { |
| | | boolean configAcceptable = true; |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | public ConfigChangeResult applyConfigurationChange(PluginCfg configuration) |
| | | public ConfigChangeResult applyConfigurationChange( |
| | | LastModPluginCfg configuration) |
| | | { |
| | | // No implementation is required. |
| | | currentConfig = configuration; |
| | | return new ConfigChangeResult(ResultCode.SUCCESS, false); |
| | | } |
| | | } |
| | |
| | | lines.add("dn: ds-cfg-backend-id=" + backendID + ",cn=Backends,cn=config"); |
| | | lines.add("objectClass: top"); |
| | | lines.add("objectClass: ds-cfg-backend"); |
| | | lines.add("objectClass: ds-cfg-memory-backend"); |
| | | lines.add("ds-cfg-backend-id: " + backendID); |
| | | lines.add("ds-cfg-backend-class: org.opends.server.backends.MemoryBackend"); |
| | | lines.add("ds-cfg-backend-enabled: " + String.valueOf(enabled)); |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.Base64PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.Base64PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | { |
| | | Base64PasswordStorageScheme scheme = new Base64PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | Base64PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | Base64PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.ClearPasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.ClearPasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | { |
| | | ClearPasswordStorageScheme scheme = new ClearPasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | ClearPasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | ClearPasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.MD5PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.MD5PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | { |
| | | MD5PasswordStorageScheme scheme = new MD5PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | MD5PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | MD5PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.SHA1PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SHA1PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | { |
| | | SHA1PasswordStorageScheme scheme = new SHA1PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SHA1PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SHA1PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.ErrorLogAccountStatusNotificationHandlerCfgDefn; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.ErrorLogAccountStatusNotificationHandlerCfg; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.SaltedMD5PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedMD5PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | SaltedMD5PasswordStorageScheme scheme = |
| | | new SaltedMD5PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedMD5PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedMD5PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | import org.testng.annotations.Test; |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.SaltedSHA1PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedSHA1PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | import org.opends.server.protocols.asn1.ASN1OctetString; |
| | | import org.opends.server.schema.UserPasswordSyntax; |
| | |
| | | SaltedSHA1PasswordStorageScheme scheme = |
| | | new SaltedSHA1PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedSHA1PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedSHA1PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | SaltedSHA1PasswordStorageScheme scheme = |
| | | new SaltedSHA1PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedSHA1PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedSHA1PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta. |
| | | SaltedSHA256PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedSHA256PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | SaltedSHA256PasswordStorageScheme scheme = |
| | | new SaltedSHA256PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedSHA256PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedSHA256PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta. |
| | | SaltedSHA384PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedSHA384PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | SaltedSHA384PasswordStorageScheme scheme = |
| | | new SaltedSHA384PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedSHA384PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedSHA384PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta. |
| | | SaltedSHA512PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedSHA512PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.PasswordStorageScheme; |
| | | |
| | | |
| | |
| | | SaltedSHA512PasswordStorageScheme scheme = |
| | | new SaltedSHA512PasswordStorageScheme(); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedSHA512PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedSHA512PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | |
| | | |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PluginCfgDefn; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.admin.std.meta.EntryUUIDPluginCfgDefn; |
| | | import org.opends.server.admin.std.server.EntryUUIDPluginCfg; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.config.ConfigException; |
| | |
| | | "dn: cn=Entry UUID,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-entryuuid-plugin", |
| | | "cn: Entry UUID", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.EntryUUIDPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | "dn: cn=Entry UUID,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-entryuuid-plugin", |
| | | "cn: Entry UUID", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.EntryUUIDPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | "dn: cn=Entry UUID,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-entryuuid-plugin", |
| | | "cn: Entry UUID", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.EntryUUIDPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | EntryUUIDPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | EntryUUIDPluginCfgDefn.getInstance(), e); |
| | | |
| | | EntryUUIDPlugin plugin = new EntryUUIDPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | EntryUUIDPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | EntryUUIDPluginCfgDefn.getInstance(), e); |
| | | |
| | | EntryUUIDPlugin plugin = new EntryUUIDPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | "dn: cn=Entry UUID,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-entryuuid-plugin", |
| | | "cn: Entry UUID", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.EntryUUIDPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | EntryUUIDPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | EntryUUIDPluginCfgDefn.getInstance(), e); |
| | | |
| | | EntryUUIDPlugin plugin = new EntryUUIDPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PluginCfgDefn; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.admin.std.meta. |
| | | LDAPAttributeDescriptionListPluginCfgDefn; |
| | | import org.opends.server.admin.std.server.LDAPAttributeDescriptionListPluginCfg; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.protocols.internal.InternalClientConnection; |
| | |
| | | "dn: cn=LDAP Attribute Description List,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-ldap-ad-list-plugin", |
| | | "cn: LDAP Attribute Description List", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LDAPADListPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | LDAPAttributeDescriptionListPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | LDAPAttributeDescriptionListPluginCfgDefn.getInstance(), e); |
| | | |
| | | LDAPADListPlugin plugin = new LDAPADListPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | "dn: cn=LDAP Attribute Description List,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-ldap-ad-list-plugin", |
| | | "cn: LDAP Attribute Description List", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LDAPADListPlugin", |
| | | "ds-cfg-plugin-enabled: true"); |
| | |
| | | "dn: cn=LDAP Attribute Description List,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-ldap-ad-list-plugin", |
| | | "cn: LDAP Attribute Description List", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LDAPADListPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | LDAPAttributeDescriptionListPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | LDAPAttributeDescriptionListPluginCfgDefn.getInstance(), e); |
| | | |
| | | LDAPADListPlugin plugin = new LDAPADListPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | |
| | | import org.opends.server.TestCaseUtils; |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PluginCfgDefn; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.admin.std.meta.LastModPluginCfgDefn; |
| | | import org.opends.server.admin.std.server.LastModPluginCfg; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.config.ConfigException; |
| | |
| | | "dn: cn=LastMod,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-lastmod-plugin", |
| | | "cn: LastMod", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LastModPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | "dn: cn=LastMod,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-lastmod-plugin", |
| | | "cn: LastMod", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LastModPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | "dn: cn=LastMod,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-lastmod-plugin", |
| | | "cn: LastMod", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LastModPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | "dn: cn=LastMod,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-lastmod-plugin", |
| | | "cn: LastMod", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LastModPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | LastModPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | LastModPluginCfgDefn.getInstance(), e); |
| | | |
| | | LastModPlugin plugin = new LastModPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | LastModPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | LastModPluginCfgDefn.getInstance(), e); |
| | | |
| | | LastModPlugin plugin = new LastModPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | "dn: cn=LastMod,cn=Plugins,cn=config", |
| | | "objectClass: top", |
| | | "objectClass: ds-cfg-plugin", |
| | | "objectClass: ds-cfg-lastmod-plugin", |
| | | "cn: LastMod", |
| | | "ds-cfg-plugin-class: org.opends.server.plugins.LastModPlugin", |
| | | "ds-cfg-plugin-enabled: true", |
| | |
| | | } |
| | | |
| | | |
| | | PluginCfg configuration = |
| | | LastModPluginCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PluginCfgDefn.getInstance(), e); |
| | | LastModPluginCfgDefn.getInstance(), e); |
| | | |
| | | LastModPlugin plugin = new LastModPlugin(); |
| | | plugin.initializePlugin(pluginTypes, configuration); |
| | |
| | | package org.opends.server.schema; |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.SaltedMD5PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedMD5PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.EqualityMatchingRule; |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | public Object[][] createEqualityMatchingRuleTest() |
| | | { |
| | | return new Object[][] { |
| | | {"password", "password", true}, |
| | | {"password", "password", true}, |
| | | }; |
| | | } |
| | | |
| | |
| | | { |
| | | ByteString bytePassword = new ASN1OctetString(password); |
| | | SaltedMD5PasswordStorageScheme scheme = new SaltedMD5PasswordStorageScheme(); |
| | | |
| | | |
| | | ConfigEntry configEntry = |
| | | DirectoryServer.getConfigEntry( |
| | | DN.decode("cn=Salted MD5,cn=Password Storage Schemes,cn=config")); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedMD5PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedMD5PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | | scheme.initializePasswordStorageScheme(configuration); |
| | | |
| | | |
| | | ByteString encodedAuthPassword = scheme.encodeAuthPassword(bytePassword); |
| | | StringBuilder[] authPWComponents = |
| | | AuthPasswordSyntax.decodeAuthPassword( |
| | | encodedAuthPassword.stringValue()); |
| | | |
| | | |
| | | return new Object[] { |
| | | AUTH_PASSWORD_SCHEME_NAME_SALTED_MD5 + "$" |
| | | + authPWComponents[1].toString() |
| | | + "$"+ authPWComponents[2].toString(), |
| | | password, true}; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | |
| | | @DataProvider(name="valuesMatch") |
| | | public Object[][] createValuesMatch() |
| | | { |
| | | try |
| | | try |
| | | { |
| | | return new Object[][] { |
| | | generateValues("password"), |
| | |
| | | { |
| | | return new AuthPasswordEqualityMatchingRule(); |
| | | } |
| | | |
| | | } |
| | | |
| | |
| | | package org.opends.server.schema; |
| | | |
| | | import org.opends.server.admin.server.AdminTestCaseUtils; |
| | | import org.opends.server.admin.std.meta.PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.PasswordStorageSchemeCfg; |
| | | import org.opends.server.admin.std.meta.SaltedMD5PasswordStorageSchemeCfgDefn; |
| | | import org.opends.server.admin.std.server.SaltedMD5PasswordStorageSchemeCfg; |
| | | import org.opends.server.api.EqualityMatchingRule; |
| | | import org.opends.server.config.ConfigEntry; |
| | | import org.opends.server.core.DirectoryServer; |
| | |
| | | public Object[][] createEqualityMatchingRuleTest() |
| | | { |
| | | return new Object[][] { |
| | | {"password", "password", true}, |
| | | {"password", "password", true}, |
| | | }; |
| | | } |
| | | |
| | |
| | | { |
| | | ByteString bytePassword = new ASN1OctetString(password); |
| | | SaltedMD5PasswordStorageScheme scheme = new SaltedMD5PasswordStorageScheme(); |
| | | |
| | | |
| | | ConfigEntry configEntry = |
| | | DirectoryServer.getConfigEntry( |
| | | DN.decode("cn=Salted MD5,cn=Password Storage Schemes,cn=config")); |
| | | |
| | | PasswordStorageSchemeCfg configuration = |
| | | SaltedMD5PasswordStorageSchemeCfg configuration = |
| | | AdminTestCaseUtils.getConfiguration( |
| | | PasswordStorageSchemeCfgDefn.getInstance(), |
| | | SaltedMD5PasswordStorageSchemeCfgDefn.getInstance(), |
| | | configEntry.getEntry() |
| | | ); |
| | | |
| | | scheme.initializePasswordStorageScheme(configuration); |
| | | |
| | | |
| | | ByteString encodedAuthPassword = |
| | | scheme.encodePasswordWithScheme(bytePassword); |
| | | |
| | | |
| | | return new Object[] { |
| | | encodedAuthPassword.toString(), password, true}; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | |
| | | @DataProvider(name="valuesMatch") |
| | | public Object[][] createValuesMatch() |
| | | { |
| | | try |
| | | try |
| | | { |
| | | return new Object[][] { |
| | | generateValues("password"), |
| | |
| | | { |
| | | return new UserPasswordEqualityMatchingRule(); |
| | | } |
| | | |
| | | } |
| | | |