@Override
    public boolean isAnonymous() {
        return getAuthentication().filter(auth -> ANONYMOUS_AUTH_CLASS.isAssignableFrom(auth.getClass())).isPresent();
    }
@ Override public boolean isAnonymous ( ) { return getAuthentication ( ) . filter ( auth -> ANONYMOUS_AUTH_CLASS . isAssignableFrom ( auth . getClass ( ) ) ) . isPresent ( ) ; }
{@inheritDoc}