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