Documentation of 'org.apache.derby.impl.jdbc.authentication.NativeAuthenticationServiceImpl' Java class
NativeAuthenticationServiceImpl
org.apache.derby.impl.jdbc.authentication

Class NativeAuthenticationServiceImpl

    • Constructor Detail

      • NativeAuthenticationServiceImpl

        public NativeAuthenticationServiceImpl()
    • Method Detail

      • canSupport

        public boolean canSupport(java.util.Properties properties)
        Check if we should activate this authentication service.
        Specified by:
        canSupport in interface ModuleSupportable
        Returns:
        true if this instance can be used, false otherwise.
      • authenticateUser

        public boolean authenticateUser(java.lang.String userName,
                                        java.lang.String userPassword,
                                        java.lang.String databaseName,
                                        java.util.Properties info)
                                 throws java.sql.SQLException
        Authenticate the passed-in user's credentials.
        Specified by:
        authenticateUser in interface UserAuthenticator
        Parameters:
        userName - The user's name used to connect to JBMS system
        userPassword - The user's password used to connect to JBMS system
        databaseName - The database which the user wants to connect to.
        info - Additional jdbc connection info.
        Returns:
        false if the connection request should be denied, true if the connection request should proceed. If false is returned the connection attempt will receive a SQLException with SQL State 08004.
        Throws:
        java.sql.SQLException - An exception processing the request, connection request will be denied. The SQL exception will be returned to the connection attempt.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.