@Test @Ignore public void shouldAuthorizeAnyone() throws Exception { SlingWebConsoleSecurityProvider slingWebConsoleSecurityProvider = new SlingWebConsoleSecurityProvider(); assertTrue(slingWebConsoleSecurityProvider.authorize("anyObject", "anyRole")); }
@Override public boolean authorize( Object user, String role ) { log.info("********** Attempting to authorize " + user + ", with role " + role); return true; }
SlingWebConsoleSecurityProvider implements WebConsoleSecurityProvider { @Override public boolean authorize( Object user, String role ) { log.info("********** Attempting to authorize " + user + ", with role " + role); return true; } }
SlingWebConsoleSecurityProvider implements WebConsoleSecurityProvider { @Override public boolean authorize( Object user, String role ) { log.info("********** Attempting to authorize " + user + ", with role " + role); return true; }  }
SlingWebConsoleSecurityProvider implements WebConsoleSecurityProvider { @Override public boolean authorize( Object user, String role ) { log.info("********** Attempting to authorize " + user + ", with role " + role); return true; }  @Override Object authenticate( String userName,
                                String password ); @Override boolean authorize( Object user,
                              String role ); }
SlingWebConsoleSecurityProvider implements WebConsoleSecurityProvider { @Override public boolean authorize( Object user, String role ) { log.info("********** Attempting to authorize " + user + ", with role " + role); return true; }  @Override Object authenticate( String userName,
                                String password ); @Override boolean authorize( Object user,
                              String role );  }