Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt.hook
Class AuthenticationPolicy

java.lang.Object
  |
  +--oracle.panama.rt.hook.AuthenticationPolicy

public final class AuthenticationPolicy
extends java.lang.Object

The authentication policy based on user information in PTG repository.

Since:
Oracle9i Application Server Wireless Edition

Constructor Summary
AuthenticationPolicy()
           

 

Method Summary
static AuthenticationContext authenticateUser(java.lang.String userName, java.lang.String password, Request request)
          Perform the authentication using the user address information in PTG repository.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AuthenticationPolicy

public AuthenticationPolicy()
Method Detail

authenticateUser

public static AuthenticationContext authenticateUser(java.lang.String userName,
                                                     java.lang.String password,
Request request)
                                              throws AuthenticationException
Perform the authentication using the user address information in PTG repository. The authentication type is "BASIC".
Parameters:
userName - the name of the user logging in
password - the password submitted by the user
request - the incoming request
Returns:
a context that may contain credentials and privileges
AuthenticationException

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.