1
Error importing the interface User
:
import br.gov.frameworkdemoiselle.security.User;
Version of Demoiselle used: 2.5.0-RC1
According to Grepcode, in version 2.5.0-BETA2, this interface existed (http://grepcode.com/file/repo1.maven.org/maven2/br.gov.frameworkdemoiselle/demoiselle-core/2.5.0-BETA2/br/gov/frameworkdemoiselle/security/User.java?av=f), but from 2.5.0-BETA3 onwards, it disappeared (http://grepcode.com/project/repo1.maven.org/maven2/br.gov.frameworkdemoiselle/demoiselle-core/).
Does anyone know which interface replaces 'User' ?
I’m implementing the interface Authenticator
:
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;
}
};
}
}
Version 2.5.0 has been released.
– zyc