Oracle Application Server Wireless Java API Reference
B10400-01

oracle.panama.rt.hook
Class AuthorizationPolicy

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

public final class AuthorizationPolicy
extends java.lang.Object

The authorization policy based on ownership and group membership information in PTG repository.

Since:
Oracle9i Application Server Wireless Edition

Constructor Summary
AuthorizationPolicy()
           

 

Method Summary
static boolean authorizeUser(User user, Service service, Request request, AuthenticationContext authContext)
          Perform the authorization using ownership and group membership information in PTG repository.

 

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

 

Constructor Detail

AuthorizationPolicy

public AuthorizationPolicy()
Method Detail

authorizeUser

public static boolean authorizeUser(User user,
Service service,
Request request,
AuthenticationContext authContext)
                             throws AuthorizationException
Perform the authorization using ownership and group membership information in PTG repository. This policy assumes that authentication context is of "BASIC" authentication type performed by the AuthenticationPolicy.
Parameters:
user - the user requesting the service
service - the service to be accessed
request - an incoming request
authContext - the context of "BASIC" authentication type
Returns:
true if the user has sufficient priviliges to access the service
AuthorizationException

Oracle Application Server Wireless Java API Reference
B10400-01

Copyright © 2003 Oracle Corporation. All Rights Reserved.