0
votes

I'm still trying to migrate my app from wso2is-5.2.0 to wsois-5.3.0. My app is a rest api to manage users and I call wso2is soap webservices.

In 5.3.0 it seems that I cannot modified identity claims like identity/accountLocked or identity/failedLoginAttempts with the webservice

TID: 1 [2017-01-19 10:42:26,672] [email protected]@mycompany.com 1 [IS]ERROR {org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver} - InvalidOperation This operation is not supported for Identity claims org.wso2.carbon.user.core.UserStoreException: InvalidOperation This operation is not supported for Identity claims at org.wso2.carbon.identity.governance.listener.IdentityStoreEventListener.doPreSetUserClaimValue(IdentityStoreEventListener.java:202) at org.wso2.carbon.user.core.common.AbstractUserStoreManager.setUserClaimValue(AbstractUserStoreManager.java:1252)

I need to unlock account manually on certains use-case, or reset failedLoginAttempts for integration-test, is there another webservice / solution to achive that ?

Regards,

1
What is the service you tried?pulasthi7
RemoteUserStoreManagerServiceStub.setUserClaimValue()gribo

1 Answers

3
votes

Yes. You have to use RemoteUserStoreManagerServiceStub.setUserClaimValues() method instead of RemoteUserStoreManagerServiceStub.setUserClaimValue() method. In IS 5.3.0 RemoteUserStoreManagerServiceStub.setUserClaimValue() method is blocked for Identity Claims.

Thanks
Isura