spring-security
spring-security copied to clipboard
Add isFullyAuthenticated to AuthenticatedTrustResolver
Since isFullyAuthenticated
is a composition of isAnonymous
and isRememberMe
, a default convenience method can be added:
default boolean isFullyAuthenticated(Authentication authentication) {
return !isAnonymous(authentication) && !isRememberMe(authentication)
}
This would be nice for SecurityExpressionRoot#isFullyAuthenticated
and AuthenticatedAuthorizationManager#fullyAuthenticated
Can i work on this implementation ?
Yep! The issue is yours.