code: @Override
      public ExecutionContext authenticate(final Credentials credentials,
              final String repositoryName, final String workspaceName,
              final ExecutionContext repositoryContext,
              final Map<String, Object> sessionAttributes) {
          if (credentials instanceof ServletCredentials) {
              return repositoryContext
                      .with(new AnonymousAdminSecurityContext("bypassAdmin"));
          }
          return null;
  
      }
docs: /*
  (non-Javadoc)
  @see
  org.modeshape.jcr.security.AuthenticationProvider#authenticate(javax.
  jcr.Credentials, java.lang.String, java.lang.String,
  org.modeshape.jcr.ExecutionContext, java.util.Map)