de.uplanet.lucy.usermanager.security.permission
Class DsClassPermission

java.lang.Object
  extended by java.security.Permission
      extended by de.uplanet.lucy.usermanager.security.permission.DsClassPermission
All Implemented Interfaces:
de.uplanet.lucy.security.permission.IIntrexxPermission, java.io.Serializable, java.security.Guard

@Scriptable
public final class DsClassPermission
extends java.security.Permission
implements de.uplanet.lucy.security.permission.IIntrexxPermission

Permission to controll access to or to control instantiation of DS class objects.

Version:
$Revision: 82244 $
See Also:
Serialized Form

Field Summary
static java.lang.String ACTION_ADMIN
          "administration"
static java.lang.String ACTION_CREATE_INSTANCE
          "create-instance"
static java.lang.String ALL_CLASSES
          "<all classes>"
 
Constructor Summary
DsClassPermission(java.lang.String p_strName, java.lang.String p_strActions)
          Construct a DsClassPermission.
 
Method Summary
 boolean equals(java.lang.Object p_obj)
           
 java.lang.String getActions()
           
 int hashCode()
           
 boolean implies(java.security.Permission p_perm)
           
 java.security.PermissionCollection newPermissionCollection()
           
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_CLASSES

public static final java.lang.String ALL_CLASSES
"<all classes>"

See Also:
Constant Field Values

ACTION_ADMIN

public static final java.lang.String ACTION_ADMIN
"administration"

See Also:
Constant Field Values

ACTION_CREATE_INSTANCE

public static final java.lang.String ACTION_CREATE_INSTANCE
"create-instance"

See Also:
Constant Field Values
Constructor Detail

DsClassPermission

public DsClassPermission(java.lang.String p_strName,
                         java.lang.String p_strActions)
Construct a DsClassPermission.

Parameters:
p_strName - Either <all classes> or a name of the form classid:<DsClassId>.
Method Detail

getActions

public java.lang.String getActions()
Specified by:
getActions in class java.security.Permission

hashCode

public int hashCode()
Specified by:
hashCode in class java.security.Permission

implies

public boolean implies(java.security.Permission p_perm)
Specified by:
implies in class java.security.Permission

equals

public boolean equals(java.lang.Object p_obj)
Specified by:
equals in class java.security.Permission

newPermissionCollection

public java.security.PermissionCollection newPermissionCollection()
Overrides:
newPermissionCollection in class java.security.Permission


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