Upgrade to picketlink 2.6.0.CR5. Support for sync whole UserModel into AuthenticationProvider

This commit is contained in:
mposolda committed 2014-06-23 15:29:00 +02:00
1 parent 767e6a9783
commit aea4fd8e30
7 files changed
+23 -18

No files matched your search

@@ -11,6 +11,7 @@ import org.keycloak.authentication.AuthUser;
import org.keycloak.authentication.AuthenticationProvider;
import org.keycloak.authentication.AuthenticationProviderException;
import org.keycloak.models.RealmModel;
import org.keycloak.models.UserModel;
/**
* @author <a href="mailto:mposolda@redhat.com">Marek Posolda</a>
@@ -45,9 +46,9 @@ public class PropertiesAuthenticationProvider implements AuthenticationProvider
}
@Override
public String registerUser(RealmModel realm, Map<String, String> configuration, String username) throws AuthenticationProviderException {
public String registerUser(RealmModel realm, Map<String, String> configuration, UserModel user) throws AuthenticationProviderException {
// Registration ignored
return username;
return user.getLoginName();
}
@Override