Error importing interface User
:
import br.gov.frameworkdemoiselle.security.User;
demoiselle version used: 2.5.0-RC1
According to GrepCode, in version 2.5.0-BETA2, this interface existed ( link ), but from 2.5.0-BETA3 onwards it disappeared (< a link =).
Does anyone know which interface replaces the 'User'?
I'm implementing the Authenticator
interface:
import br.gov.frameworkdemoiselle.security.Authenticator;
import br.gov.frameworkdemoiselle.security.User;
public class Autenticador implements Authenticator {
...
@Override
public User getUser() {
return new User() {
private static final long serialVersionUID = 1L;
@Override
public void setAttribute(Object arg0, Object arg1) {
}
@Override
public String getId() {
return "usuario X";
}
@Override
public Object getAttribute(Object arg0) {
return null;
}
};
}
}