-
1. Re: How to remove a user from one partition and add it to another partition?
pcraveiro Jan 30, 2014 9:12 AM (in response to albeirobet)Hi,
Can you please provide the full log ? And also which PL and AS version are you using ?
-
2. Re: Re: How to remove a user from one partition and add it to another partition?
albeirobet Jan 30, 2014 9:39 AM (in response to pcraveiro)Hi Pedro, thanks for answering
I'm working with: Picketlink 2.5.3.Beta1 and WildFly 8.0.0.Beta1
attached the server.log file
-
server.log.zip 5.0 KB
-
-
3. Re: Re: How to remove a user from one partition and add it to another partition?
pcraveiro Jan 30, 2014 11:24 AM (in response to albeirobet)According to the logs we have this root cause:
Caused by: java.lang.IllegalArgumentException: Not an entity: class org.picketlink.idm.jpa.model.sample.simple.DigestCredentialTypeEntity
Can you please check if the entity above is define in your persistence.xml ?
-
4. Re: Re: How to remove a user from one partition and add it to another partition?
albeirobet Jan 30, 2014 3:27 PM (in response to pcraveiro)The entity that you mention was not declared in the persistence.xml file, also need to declare the following entities:
org.picketlink.idm.jpa.model.sample.simple.OTPCredentialTypeEntity
org.picketlink.idm.jpa.model.sample.simple.X509CredentialTypeEntity
With this I could remove the user from the original partition, then I added the other partition but this adds no password.
Is there any way to get the user's password in the original partition to update with the new user?
eg.
String password = user.getAttribute ("password");
Excuse my limited English