예제 #1
0
 @Override
 protected boolean authenticate(String username, String password) {
   AuthorizationLogic authorizationLogic =
       SingletonS2Container.getComponent(AuthorizationLogic.class);
   return authorizationLogic.authenticate(username, password);
 }
예제 #2
0
 @Override
 public AccountDto getRole() {
   return SingletonS2Container.getComponent(AccountDto.class);
 }