de.uplanet.lucy.server.security
Class IxAccessController

java.lang.Object
  extended by de.uplanet.lucy.server.security.IxAccessController

@Scriptable
public final class IxAccessController
extends java.lang.Object

Version:
$Revision: 64100 $

Method Summary
static void checkPermission(java.security.Permission p_permission)
          Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.
static boolean hasPermission(java.security.Permission p_permission)
          Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkPermission

public static void checkPermission(java.security.Permission p_permission)
                            throws java.security.AccessControlException
Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect. This method quietly returns if the access request is permitted, or throws a suitable AccessControlException otherwise.

Parameters:
p_permission - The requested permission.
Throws:
java.security.AccessControlException - If the specified permission is not permitted, based on the current security policy.

hasPermission

public static boolean hasPermission(java.security.Permission p_permission)
Determines whether the access request indicated by the specified permission should be allowed or denied, based on the security policy currently in effect.

Parameters:
p_permission - The requested permission.
Returns:
true if the permission is granted, or false if the permission is denied.


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.