Liking cljdoc? Tell your friends :D

jdk.security.AllPermission

The AllPermission is a permission that implies all other permissions.

Note: Granting AllPermission should be done with extreme care, as it implies all other permissions. Thus, it grants code the ability to run with security disabled. Extreme caution should be taken before granting such a permission to code. This permission should be used only during testing, or in extremely rare cases where an application or applet is completely trusted and adding the necessary permissions to the policy is prohibitively cumbersome.

The AllPermission is a permission that implies all other permissions.

Note: Granting AllPermission should be done with extreme care,
as it implies all other permissions. Thus, it grants code the ability
to run with security
disabled.  Extreme caution should be taken before granting such
a permission to code.  This permission should be used only during testing,
or in extremely rare cases where an application or applet is
completely trusted and adding the necessary permissions to the policy
is prohibitively cumbersome.
raw docstring

->all-permissionclj

(->all-permission)
(->all-permission name actions)

Constructor.

Creates a new AllPermission object. This constructor exists for use by the Policy object to instantiate new Permission objects.

name - ignored - java.lang.String actions - ignored. - java.lang.String

Constructor.

Creates a new AllPermission object. This
 constructor exists for use by the Policy object
 to instantiate new Permission objects.

name - ignored - `java.lang.String`
actions - ignored. - `java.lang.String`
raw docstring

equalsclj

(equals this obj)

Checks two AllPermission objects for equality. Two AllPermission objects are always equal.

obj - the object we are testing for equality with this object. - java.lang.Object

returns: true if obj is an AllPermission, false otherwise. - boolean

Checks two AllPermission objects for equality. Two AllPermission
 objects are always equal.

obj - the object we are testing for equality with this object. - `java.lang.Object`

returns: true if obj is an AllPermission, false otherwise. - `boolean`
raw docstring

get-actionsclj

(get-actions this)

Returns the canonical string representation of the actions.

returns: the actions. - java.lang.String

Returns the canonical string representation of the actions.

returns: the actions. - `java.lang.String`
raw docstring

hash-codeclj

(hash-code this)

Returns the hash code value for this object.

returns: a hash code value for this object. - int

Returns the hash code value for this object.

returns: a hash code value for this object. - `int`
raw docstring

impliesclj

(implies this p)

Checks if the specified permission is "implied" by this object. This method always returns true.

p - the permission to check against. - java.security.Permission

returns: return - boolean

Checks if the specified permission is "implied" by
 this object. This method always returns true.

p - the permission to check against. - `java.security.Permission`

returns: return - `boolean`
raw docstring

new-permission-collectionclj

(new-permission-collection this)

Returns a new PermissionCollection object for storing AllPermission objects.

returns: a new PermissionCollection object suitable for storing AllPermissions. - java.security.PermissionCollection

Returns a new PermissionCollection object for storing AllPermission
 objects.

returns: a new PermissionCollection object suitable for
 storing AllPermissions. - `java.security.PermissionCollection`
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close