Package org.wicketstuff.nashorn.resource
Class NashornSecurityManagerPermission
- java.lang.Object
-
- java.security.Permission
-
- org.wicketstuff.nashorn.resource.NashornSecurityManagerPermission
-
- All Implemented Interfaces:
Serializable
,Guard
public class NashornSecurityManagerPermission extends Permission
Permissions used by the corresponding security manager- Author:
- Tobias Soloschenko
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NashornSecurityManagerPermission()
Creates new permissions
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
If the given object are the permissions itself they are the sameString
getActions()
No action requiredint
hashCode()
To make this fast return the hashcode of the nameboolean
implies(Permission permission)
Used to check if a permission implies this one-
Methods inherited from class java.security.Permission
checkGuard, getName, newPermissionCollection, toString
-
-
-
-
Method Detail
-
implies
public boolean implies(Permission permission)
Used to check if a permission implies this one- Specified by:
implies
in classPermission
- See Also:
equals(Object)
-
equals
public boolean equals(Object obj)
If the given object are the permissions itself they are the same- Specified by:
equals
in classPermission
-
hashCode
public int hashCode()
To make this fast return the hashcode of the name- Specified by:
hashCode
in classPermission
-
getActions
public String getActions()
No action required- Specified by:
getActions
in classPermission
-
-