- java.lang.Object
- 
- aeonics.template.Item<Policy.Type>
- 
- aeonics.entity.security.Policy
- 
- aeonics.entity.security.Policy.TargetedPolicy
- 
- aeonics.entity.security.Policy.TargetedAllow
 
 
 
 
- 
- Enclosing class:
- Policy
 
 public static class Policy.TargetedAllow extends Policy.TargetedPolicy A policy that validates the rule to allow access for specific target users, roles or groups. This policy should be used in a deny-by-default approach.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classPolicy.TargetedAllow.Type- 
Nested classes/interfaces inherited from class aeonics.entity.security.PolicyPolicy.Allow, Policy.Deny, Policy.TargetedAllow, Policy.TargetedDeny, Policy.TargetedPolicy
 
- 
 - 
Constructor SummaryConstructors Constructor Description TargetedAllow()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.function.Supplier<? extends Policy.TargetedAllow.Type>defaultCreator()Returns the default target entity creator.protected java.lang.Class<? extends Policy.TargetedAllow.Type>defaultTarget()Returns the default target entity type.Template<? extends Policy.TargetedAllow.Type>template()Returns the template to build the target entity.
 
- 
- 
- 
Method Detail- 
defaultTargetprotected java.lang.Class<? extends Policy.TargetedAllow.Type> defaultTarget() Description copied from class:ItemReturns the default target entity type. This method should be implemented by subclasses to specify the target entity type.- Specified by:
- defaultTargetin class- Item<Policy.Type>
- Returns:
- the default target entity type
 
 - 
defaultCreatorprotected java.util.function.Supplier<? extends Policy.TargetedAllow.Type> defaultCreator() Description copied from class:ItemReturns the default target entity creator. This method should be implemented by subclasses to specify the entity creator.- Specified by:
- defaultCreatorin class- Item<Policy.Type>
- Returns:
- the default target entity creator
 
 - 
templatepublic Template<? extends Policy.TargetedAllow.Type> template() Description copied from class:ItemReturns the template to build the target entity.This method should ultimately be used to provide the final entity template. Although, it may also provide a partial template that subclassed may complement. - Overrides:
- templatein class- Policy.TargetedPolicy
- Returns:
- the matching entity template
 
 
- 
 
-