Skip to content

Commit

Permalink
Merge pull request seam#31 from maschmid/fixexamples
Browse files Browse the repository at this point in the history
remove UserImpl from authorization example
  • Loading branch information
sbryzak committed Sep 22, 2011
2 parents 91b712c + 4ba1662 commit 61ff296
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -6,7 +6,7 @@
import org.jboss.seam.security.BaseAuthenticator;
import org.jboss.seam.security.Credentials;
import org.jboss.seam.security.Identity;
import org.jboss.seam.security.UserImpl;
import org.picketlink.idm.impl.api.model.SimpleUser;

/**
* @author Shane Bryzak
Expand All @@ -29,6 +29,6 @@ public void authenticate() {

// Let any user log in
setStatus(AuthenticationStatus.SUCCESS);
setUser(new UserImpl(credentials.getUsername()));
setUser(new SimpleUser(credentials.getUsername()));
}
}

0 comments on commit 61ff296

Please sign in to comment.