Package org.wicketstuff.nashorn.resource
Class NashornSecurityManagerPermission
java.lang.Object
java.security.Permission
org.wicketstuff.nashorn.resource.NashornSecurityManagerPermission
- All Implemented Interfaces:
Serializable
,Guard
Permissions used by the corresponding security manager
- Author:
- Tobias Soloschenko
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
If the given object are the permissions itself they are the sameNo action requiredint
hashCode()
To make this fast return the hashcode of the nameboolean
implies
(Permission permission) Used to check if a permission implies this oneMethods inherited from class java.security.Permission
checkGuard, getName, newPermissionCollection, toString
-
Constructor Details
-
NashornSecurityManagerPermission
public NashornSecurityManagerPermission()Creates new permissions
-
-
Method Details
-
implies
Used to check if a permission implies this one- Specified by:
implies
in classPermission
- See Also:
-
equals
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
No action required- Specified by:
getActions
in classPermission
-