org.apache.derby.impl.jdbc.authentication
Class SpecificAuthenticationServiceImpl

java.lang.Object
  extended by org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
      extended by org.apache.derby.impl.jdbc.authentication.SpecificAuthenticationServiceImpl
All Implemented Interfaces:
AuthenticationService, ModuleControl, ModuleSupportable, PropertySetCallback

public class SpecificAuthenticationServiceImpl
extends AuthenticationServiceBase

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
private  java.lang.String specificAuthenticationScheme
           
 
Fields inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
authenticationScheme, AuthenticationTrace, ID_PATTERN_CONFIGURABLE_HASH_SCHEME, ID_PATTERN_SHA1_SCHEME, SECMEC_USRSSBPWD, SEPARATOR_CHAR
 
Fields inherited from interface org.apache.derby.iapi.jdbc.AuthenticationService
MODULE
 
Constructor Summary
SpecificAuthenticationServiceImpl()
           
 
Method Summary
 void boot(boolean create, java.util.Properties properties)
          Start this module.
 boolean canSupport(java.util.Properties properties)
          Check if we should activate this authentication service.
 
Methods inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
apply, authenticate, encryptPasswordConfigurableScheme, encryptPasswordSHA1Scheme, getDatabaseProperty, getProperty, getSystemProperty, init, map, requireAuthentication, setAuthenticationService, stop, substitutePassword, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

specificAuthenticationScheme

private java.lang.String specificAuthenticationScheme
Constructor Detail

SpecificAuthenticationServiceImpl

public SpecificAuthenticationServiceImpl()
Method Detail

canSupport

public boolean canSupport(java.util.Properties properties)
Check if we should activate this authentication service.

Returns:
true if this instance can be used, false otherwise.

boot

public void boot(boolean create,
                 java.util.Properties properties)
          throws StandardException
Description copied from class: AuthenticationServiceBase
Start this module. In this case, nothing needs to be done.

Specified by:
boot in interface ModuleControl
Overrides:
boot in class AuthenticationServiceBase
Throws:
StandardException - upon failure to load/boot the expected authentication service.
See Also:
ModuleControl.boot(boolean, java.util.Properties)

Built on Thu 2012-03-29 21:53:33+0000, from revision ???

Apache Derby V10.6 Internals - Copyright © 2004,2007 The Apache Software Foundation. All Rights Reserved.