Ejemplo n.º 1
0
 private void reauthenticate(String name, String password) {
   authenticationService.invalidateTicket(authenticationService.getCurrentTicket());
   authenticationService.clearCurrentSecurityContext();
   authenticationService.authenticate(name, password.toCharArray());
 }