Class AuthenticatedDerivedSecurityLevelPolicyNode
- java.lang.Object
- 
- com.inductiveautomation.ignition.gateway.auth.security.level.policy.DerivedSecurityLevelPolicyNode
- 
- com.inductiveautomation.ignition.gateway.auth.security.level.policy.AuthenticatedDerivedSecurityLevelPolicyNode
 
 
- 
 public class AuthenticatedDerivedSecurityLevelPolicyNode extends DerivedSecurityLevelPolicyNode A node on the Authenticated security levels tree
- 
- 
Constructor SummaryConstructors Constructor Description AuthenticatedDerivedSecurityLevelPolicyNode(com.google.common.collect.ImmutableCollection<DerivedSecurityLevelPolicyNode> children)Constructor for the Authenticated node itselfAuthenticatedDerivedSecurityLevelPolicyNode(java.lang.String name, DerivedSecurityLevelPolicy policy, com.google.common.collect.ImmutableCollection<DerivedSecurityLevelPolicyNode> children)Constructor for any descendant nodes of the Authenticated node
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<SecurityLevelConfig>evaluate(SecurityLevelPolicyEvaluationContext context, java.lang.String... path)Behaves the same asDerivedSecurityLevelPolicyNode.evaluate(SecurityLevelPolicyEvaluationContext, String...)except if the given context does not have a user, then this method always return an emptyOptional
 
- 
- 
- 
Constructor Detail- 
AuthenticatedDerivedSecurityLevelPolicyNodepublic AuthenticatedDerivedSecurityLevelPolicyNode(@Nonnull com.google.common.collect.ImmutableCollection<DerivedSecurityLevelPolicyNode> children)Constructor for the Authenticated node itself
 - 
AuthenticatedDerivedSecurityLevelPolicyNodepublic AuthenticatedDerivedSecurityLevelPolicyNode(@Nonnull java.lang.String name, @Nullable DerivedSecurityLevelPolicy policy, @Nonnull com.google.common.collect.ImmutableCollection<DerivedSecurityLevelPolicyNode> children)Constructor for any descendant nodes of the Authenticated node
 
- 
 - 
Method Detail- 
evaluate@Nonnull public java.util.Optional<SecurityLevelConfig> evaluate(@Nonnull SecurityLevelPolicyEvaluationContext context, @Nonnull java.lang.String... path) Behaves the same asDerivedSecurityLevelPolicyNode.evaluate(SecurityLevelPolicyEvaluationContext, String...)except if the given context does not have a user, then this method always return an emptyOptional- Overrides:
- evaluatein class- DerivedSecurityLevelPolicyNode
- Parameters:
- context- the context for this evaluation
- path- the path of the parent security level
- Returns:
- an Optionalcontaining theSecurityLevelConfigrepresenting the security level grants for this node's policy and this node's children's policies or an empty Optional if this node and all of its descendants either have no policy or have a policy which evaluates to false
 
 
- 
 
-