org.opends.server.admin.std.meta
Class PKCS11KeyManagerProviderCfgDefn

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>
          extended by org.opends.server.admin.std.meta.PKCS11KeyManagerProviderCfgDefn

public final class PKCS11KeyManagerProviderCfgDefn
extends ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>

An interface for querying the PKCS11 Key Manager Provider managed object definition meta information.

The PKCS11 Key Manager Provider enables the server to access the private key information through the PKCS11 interface.


Method Summary
 PKCS11KeyManagerProviderCfgClient createClientConfiguration(ManagedObject<? extends PKCS11KeyManagerProviderCfgClient> impl)
          Creates a client configuration view of the provided managed object.
 PKCS11KeyManagerProviderCfg createServerConfiguration(ServerManagedObject<? extends PKCS11KeyManagerProviderCfg> impl)
          Creates a server configuration view of the provided server managed object.
 BooleanPropertyDefinition getEnabledPropertyDefinition()
          Get the "enabled" property definition.
static PKCS11KeyManagerProviderCfgDefn getInstance()
          Get the PKCS11 Key Manager Provider configuration definition singleton.
 ClassPropertyDefinition getJavaClassPropertyDefinition()
          Get the "java-class" property definition.
 StringPropertyDefinition getKeyStorePinEnvironmentVariablePropertyDefinition()
          Get the "key-store-pin-environment-variable" property definition.
 StringPropertyDefinition getKeyStorePinFilePropertyDefinition()
          Get the "key-store-pin-file" property definition.
 StringPropertyDefinition getKeyStorePinPropertyDefinition()
          Get the "key-store-pin" property definition.
 StringPropertyDefinition getKeyStorePinPropertyPropertyDefinition()
          Get the "key-store-pin-property" property definition.
 java.lang.Class<PKCS11KeyManagerProviderCfg> getServerConfigurationClass()
          Gets the server configuration class instance associated with this managed object definition.
 
Methods inherited from class org.opends.server.admin.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static PKCS11KeyManagerProviderCfgDefn getInstance()
Get the PKCS11 Key Manager Provider configuration definition singleton.

Returns:
Returns the PKCS11 Key Manager Provider configuration definition singleton.

createClientConfiguration

public PKCS11KeyManagerProviderCfgClient createClientConfiguration(ManagedObject<? extends PKCS11KeyManagerProviderCfgClient> impl)
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.

Specified by:
createClientConfiguration in class ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>
Parameters:
impl - The managed object.
Returns:
Returns a client configuration view of the provided managed object.

createServerConfiguration

public PKCS11KeyManagerProviderCfg createServerConfiguration(ServerManagedObject<? extends PKCS11KeyManagerProviderCfg> impl)
Creates a server configuration view of the provided server managed object.

Specified by:
createServerConfiguration in class ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>
Parameters:
impl - The server managed object.
Returns:
Returns a server configuration view of the provided server managed object.

getServerConfigurationClass

public java.lang.Class<PKCS11KeyManagerProviderCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.

Specified by:
getServerConfigurationClass in class ManagedObjectDefinition<PKCS11KeyManagerProviderCfgClient,PKCS11KeyManagerProviderCfg>
Returns:
Returns the server configuration class instance associated with this managed object definition.

getEnabledPropertyDefinition

public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.

Indicates whether the PKCS11 Key Manager Provider is enabled for use.

Returns:
Returns the "enabled" property definition.

getJavaClassPropertyDefinition

public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.

The fully-qualified name of the Java class that provides the PKCS11 Key Manager Provider implementation.

Returns:
Returns the "java-class" property definition.

getKeyStorePinPropertyDefinition

public StringPropertyDefinition getKeyStorePinPropertyDefinition()
Get the "key-store-pin" property definition.

Specifies the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the "key-store-pin" property definition.

getKeyStorePinEnvironmentVariablePropertyDefinition

public StringPropertyDefinition getKeyStorePinEnvironmentVariablePropertyDefinition()
Get the "key-store-pin-environment-variable" property definition.

Specifies the name of the environment variable that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the "key-store-pin-environment-variable" property definition.

getKeyStorePinFilePropertyDefinition

public StringPropertyDefinition getKeyStorePinFilePropertyDefinition()
Get the "key-store-pin-file" property definition.

Specifies the path to the text file whose only contents should be a single line containing the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the "key-store-pin-file" property definition.

getKeyStorePinPropertyPropertyDefinition

public StringPropertyDefinition getKeyStorePinPropertyPropertyDefinition()
Get the "key-store-pin-property" property definition.

Specifies the name of the Java property that contains the clear-text PIN needed to access the PKCS11 Key Manager Provider .

Returns:
Returns the "key-store-pin-property" property definition.