Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt.hook
Interface AuthenticationHook


public interface AuthenticationHook

This interface represents the plug-in modules that perform authentication.

Since:
Oracle9i Application Server Wireless Edition

Method Summary
 AuthenticationContext authenticate(java.lang.String userName, java.lang.String password, Request request)
          Delegate authentication operation to an external module.

 

Method Detail

authenticate

public AuthenticationContext authenticate(java.lang.String userName,
                                          java.lang.String password,
Request request)
                                   throws AuthenticationException
Delegate authentication operation to an external module.
Returns:
an context that may contain credentials and privileges
Throws:
AuthenticationFailOverException - when the hook requests fail over to another authentication scheme, for example, when the user name is unrecognized
AuthenticationException - when the user credentials (such as, password) are invalid

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.