@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented @SecurityBindingType public @interface PartitionsAllowed
Defines an authorization constraint that checks if the authenticated Account
is
stored within a partition.
The constraint is validated before method invocation.
public abstract Class<? extends Partition> type
If defined, checks if the account's partition is the same or a subclass of the given Partition
type.
By default, any subclass of Partition
type is supported.
public abstract String[] name
The name(s) of the partition(s) allowed to access.
Copyright © 2014. All rights reserved.