Top Description Fields Constructors Methods
org.apache.derby.impl.jdbc.authentication

public Class SpecificAuthenticationServiceImpl

extends AuthenticationServiceBase
Class Inheritance
Imports
org.apache.derby.shared.common.reference.SQLState, .ClassName, org.apache.derby.shared.common.error.StandardException, org.apache.derby.iapi.jdbc.AuthenticationService, org.apache.derby.iapi.util.StringUtil, org.apache.derby.authentication.UserAuthenticator, org.apache.derby.iapi.services.property.PropertyUtil, java.util.Properties

This authentication service is a specific/user defined User authentication level support.

It calls the specific User authentication scheme defined by the user/ administrator.

Field Summary

Modifier and TypeField and Description
private String
Inherited from org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase:
authenticationSchemeAuthenticationTraceSECMEC_USRSSBPWD

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
boot(boolean
True if the database should be created
create
,
Properties
Configuration properties
properties
)

Overrides org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase.boot.

Implements org.apache.derby.iapi.services.monitor.ModuleControl.boot.

Start this module.

public boolean
canSupport(Properties properties)

Implements org.apache.derby.iapi.services.monitor.ModuleSupportable.canSupport.

Check if we should activate this authentication service.

Inherited from org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase:
applyauthenticategetDatabasePropertiesgetDatabasePropertygetPropertygetServiceModulegetServiceNamegetSystemCredentialsDatabaseNamegetSystemPropertygetTransactionhashPasswordSHA1SchemehashUsingDefaultAlgorithminitmapparsePasswordLifetimeparsePasswordThresholdrequireAuthenticationsetAuthenticationServicestopsubstitutePasswordvalidate

Field Detail

specificAuthenticationSchemeback to summary
private String specificAuthenticationScheme

Constructor Detail

SpecificAuthenticationServiceImplback to summary
public SpecificAuthenticationServiceImpl()

Method Detail

bootback to summary
public void boot(boolean create, Properties properties) throws StandardException

Overrides org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase.boot.

Implements org.apache.derby.iapi.services.monitor.ModuleControl.boot.

Doc from org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase.boot.

Start this module. In this case, nothing needs to be done.

Parameters
create:boolean

Doc from org.apache.derby.iapi.services.monitor.ModuleControl.boot.

True if the database should be created

properties:Properties

Doc from org.apache.derby.iapi.services.monitor.ModuleControl.boot.

Configuration properties

Exceptions
StandardException:
upon failure to load/boot the expected authentication service.
See Also
org.apache.derby.iapi.services.monitor.ModuleControl#boot
canSupportback to summary
public boolean canSupport(Properties properties)

Implements org.apache.derby.iapi.services.monitor.ModuleSupportable.canSupport.

Check if we should activate this authentication service.

Returns:boolean

Doc from org.apache.derby.iapi.services.monitor.ModuleSupportable.canSupport.

true if this instance can be used, false otherwise.