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
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationPolicy
public AuthorizationPolicy()
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 serviceservice
- the service to be accessedrequest
- an incoming requestauthContext
- the context of "BASIC" authentication type- Returns:
- true
if the user has sufficient priviliges to access the service