Interface SecurityLevelPolicyEvaluationContext
public interface SecurityLevelPolicyEvaluationContext
Context in which a security level policy is evaluated
-
Method Summary
Modifier and TypeMethodDescriptiondefault Optional<StringPath>com.google.common.collect.ImmutableCollection<String>getUser()
-
Method Details
-
getSecurityLevelPath
- Returns:
- an
Optionalcontaining the path to the current security level, or an empty Optional if this context is unable to supply the current security level path. Example:Authenticated/Foo/Bar
-
getSecurityLevelName
- Returns:
- an
Optionalcontaining the name of the current security level, or an empty Optional if this context is unable to supply the current security level name. Example: if the path to the current security level isAuthenticated/Foo/Bar, the name returned would beBar
-
getSecurityZones
- Returns:
- an
ImmutableCollectionof security zones in the current context
-
getIdpAttributeSource
- Returns:
- an
Optionalcontaining theAttributeSourcefrom the IdP or an empty Optional if the user has not yet federated from the IdP
-
getUser
- Returns:
- the
WebAuthUsermapped from the IdP AttributeSource
-