@FunctionalInterface
public interface AuthenticationPolicy
extends org.springframework.core.Ordered
Modifier and Type | Method and Description |
---|---|
default int |
getOrder() |
boolean |
isSatisfiedBy(Authentication authentication)
Determines whether an authentication event isSatisfiedBy arbitrary security policy.
|
boolean isSatisfiedBy(Authentication authentication) throws java.lang.Exception
authentication
- Authentication event to examine for compliance with security policy.java.lang.Exception
- the exceptiondefault int getOrder()
getOrder
in interface org.springframework.core.Ordered