Package | Description |
---|---|
org.apache.river.api.security |
This package contains a scalable cache based security manager that parallelises
domain security checks.
|
Modifier and Type | Method and Description |
---|---|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.certificates(Certificate[] certs)
Sets the Certificate[] a CodeSource must have to receive the PermissionGrant.
|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.certificates(Certificate[] certs,
String[] aliases)
Sets the Certificate[] a CodeSource must have to receive the PermissionGrant.
|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.clazz(Class cl)
Extracts ProtectionDomain
from the Class for use in the PermissionGrantBuilder.
|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.context(int context)
Sets the context of the PermissionGrant to on of the static final
fields in this class.
|
abstract PermissionGrantBuilder |
PermissionGrant.getBuilderTemplate()
Provide a PermissionGrantBuilder, suitable for
producing a new PermissionGrant.
|
static PermissionGrantBuilder |
PermissionGrantBuilder.newBuilder() |
abstract PermissionGrantBuilder |
PermissionGrantBuilder.permissions(Permission[] perm)
Specifies Permission's to be granted.
|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.principals(Principal[] pals)
Sets the Principal[] that a Subject must have to be entitled to receive
the PermissionGrant.
|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.reset()
resets the state for reuse, identical to a newly created
PermissionGrantBuilder, this step must be performed to avoid unintentional
grants to previously added URI.
|
abstract PermissionGrantBuilder |
PermissionGrantBuilder.setDomain(WeakReference<ProtectionDomain> domain) |
abstract PermissionGrantBuilder |
PermissionGrantBuilder.uri(String path)
The URI will be added to the PermissionGrant, multiple may be specified by
calling multiple times.
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.