de.uplanet.lucy.cms.security.permission
Class CmsPermission

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

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

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

Field Summary
static java.lang.String ACTION_READ
          "read"
static java.lang.String ACTION_WRITE
          "write"
static java.lang.String ALL_ACTIONS
          "<all actions>"
 
Constructor Summary
CmsPermission(java.lang.String p_strName, java.lang.String p_strActions)
          Construct a CmsPermission.
 
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_ACTIONS

public static final java.lang.String ALL_ACTIONS
"<all actions>"

See Also:
Constant Field Values

ACTION_READ

public static final java.lang.String ACTION_READ
"read"

See Also:
Constant Field Values

ACTION_WRITE

public static final java.lang.String ACTION_WRITE
"write"

See Also:
Constant Field Values
Constructor Detail

CmsPermission

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

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: 2012-07-06 09-36
Copyright © 2000-2012 United Planet. All Rights Reserved.