This content has been marked as final.
Show 1 reply
-
1. Re: Credentials and Identity identity.getCredentials
nimo22 Jan 16, 2009 12:11 PM (in response to nimo22)What is the difference of that:
version 1:
credentials.setPassword(this.getPassword());
credentials.setUsername(this.getUsername());
that:
version 2:
identity.setPassword(this.getPassword());
identity.setUsername(this.getUsername());and that, what was before SEAM 2.1.1:
version 3:
identity.getCredentials().setUsername(this.getUsername());
identity.getCredentials().setPassword(this.getPassword());I have used version 3 before I upgraded SEAM and it worked.
Now, what should I use? version 1 or version 2?