public class DirectSecurityLevelPolicy extends java.lang.Object implements java.util.function.Function<WebAuthUser,com.google.common.collect.ImmutableCollection<SecurityLevelPath>>
DirectSecurityLevelPolicy
is a Function
which takes a WebAuthUser
as input and returns
an ImmutableCollection
of SecurityLevelPaths
as output.Constructor and Description |
---|
DirectSecurityLevelPolicy(com.google.common.collect.ImmutableMap<org.apache.commons.lang3.tuple.Pair<UserAttribute,java.lang.String>,SecurityLevelConfig> config) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<SecurityLevelPath> |
apply(WebAuthUser user) |
public DirectSecurityLevelPolicy(@Nonnull com.google.common.collect.ImmutableMap<org.apache.commons.lang3.tuple.Pair<UserAttribute,java.lang.String>,SecurityLevelConfig> config)
@Nonnull public com.google.common.collect.ImmutableCollection<SecurityLevelPath> apply(@Nonnull WebAuthUser user)
apply
in interface java.util.function.Function<WebAuthUser,com.google.common.collect.ImmutableCollection<SecurityLevelPath>>