Re: [Dev] [IS] Not able to login to the system after configuring OTP with secondary user store

2016-05-31 Thread Prakhash Sivakumar
Hi Tharindu and Omindu,
I have created a JIRA for this.

link - https://wso2.org/jira/browse/IDENTITY-4641

Thanks

On Wed, Jun 1, 2016 at 10:16 AM, Omindu Rathnaweera  wrote:

> Hi Prakash,
>
> Can you please create a JIRA to track this ?
>
> Regards,
> Omindu.
>
> On Tue, May 31, 2016 at 9:04 PM, Omindu Rathnaweera 
> wrote:
>
>> Seems this can happen when the username without domain name is passed in
>> to [1]. So the getClaimFromUserStoreManager method always searches in the
>> primary user store.
>>
>> [1] -
>> https://github.com/wso2/carbon-identity/blob/v5.0.7/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/IdentityMgtEventListener.java#L301
>>
>> Regards,
>> Omindu.
>>
>> On Tue, May 31, 2016 at 8:10 PM, Tharindu Edirisinghe > > wrote:
>>
>>> Hi Prakhash,
>>>
>>> Seems this is a bug ! Can you please debug the *doPostAuthenticate*
>>> method in *IdentityMgtEventListener* class of *org.wso2.carbon.identity.mgt
>>> component* and check what is wrong.
>>>
>>> According to the log it seems, the user is always searched in the
>>> primary userstore.
>>>
>>> Step by step guide for setting up the feature is in [1].
>>>
>>> [1]
>>> http://tharindue.blogspot.com/2015/10/a-step-by-step-guide-to-setup-one-time.html
>>>
>>> Regards,
>>> TharinduE
>>>
>>> On Tue, May 31, 2016 at 7:35 PM, Prakhash Sivakumar 
>>> wrote:
>>>
 Hi all,
 I have tried to use OTP with secondary user store(MySql database), I'm
 not able to login to the system with a user profile when OTP is enabled for
 the specific user and I'm getting the UserStoreException.

 Do I need to do any specific configuration in addition to the usual
 scenario to use OTP with secondary user store ?

 I'm using IS 5.1 release

 [2016-05-31 19:16:18,361] @prakhash.com [1] [IS]ERROR
 {org.wso2.carbon.identity.mgt.util.Utils} -  Unable to retrieve the claim
 for user : Test4
 org.wso2.carbon.user.core.UserStoreException: UserNotFound: User
 Test4does not exist in: PRIMARY
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:158)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:684)
 at
 org.wso2.carbon.identity.mgt.util.Utils.getClaimFromUserStoreManager(Utils.java:191)
 at
 org.wso2.carbon.identity.mgt.IdentityMgtEventListener.doPostAuthenticate(IdentityMgtEventListener.java:302)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:548)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:479)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:441)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:432)
 at java.security.AccessController.doPrivileged(Native Method)
 at
 org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:432)
 at
 org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:100)
 at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
 at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:498)
 at
 org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
 at
 org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
 at
 org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
 at
 org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.ja

Re: [Dev] [IS] Not able to login to the system after configuring OTP with secondary user store

2016-05-31 Thread Omindu Rathnaweera
Hi Prakash,

Can you please create a JIRA to track this ?

Regards,
Omindu.

On Tue, May 31, 2016 at 9:04 PM, Omindu Rathnaweera  wrote:

> Seems this can happen when the username without domain name is passed in
> to [1]. So the getClaimFromUserStoreManager method always searches in the
> primary user store.
>
> [1] -
> https://github.com/wso2/carbon-identity/blob/v5.0.7/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/IdentityMgtEventListener.java#L301
>
> Regards,
> Omindu.
>
> On Tue, May 31, 2016 at 8:10 PM, Tharindu Edirisinghe 
> wrote:
>
>> Hi Prakhash,
>>
>> Seems this is a bug ! Can you please debug the *doPostAuthenticate*
>> method in *IdentityMgtEventListener* class of *org.wso2.carbon.identity.mgt
>> component* and check what is wrong.
>>
>> According to the log it seems, the user is always searched in the primary
>> userstore.
>>
>> Step by step guide for setting up the feature is in [1].
>>
>> [1]
>> http://tharindue.blogspot.com/2015/10/a-step-by-step-guide-to-setup-one-time.html
>>
>> Regards,
>> TharinduE
>>
>> On Tue, May 31, 2016 at 7:35 PM, Prakhash Sivakumar 
>> wrote:
>>
>>> Hi all,
>>> I have tried to use OTP with secondary user store(MySql database), I'm
>>> not able to login to the system with a user profile when OTP is enabled for
>>> the specific user and I'm getting the UserStoreException.
>>>
>>> Do I need to do any specific configuration in addition to the usual
>>> scenario to use OTP with secondary user store ?
>>>
>>> I'm using IS 5.1 release
>>>
>>> [2016-05-31 19:16:18,361] @prakhash.com [1] [IS]ERROR
>>> {org.wso2.carbon.identity.mgt.util.Utils} -  Unable to retrieve the claim
>>> for user : Test4
>>> org.wso2.carbon.user.core.UserStoreException: UserNotFound: User
>>> Test4does not exist in: PRIMARY
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:158)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:684)
>>> at
>>> org.wso2.carbon.identity.mgt.util.Utils.getClaimFromUserStoreManager(Utils.java:191)
>>> at
>>> org.wso2.carbon.identity.mgt.IdentityMgtEventListener.doPostAuthenticate(IdentityMgtEventListener.java:302)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:548)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:479)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:441)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:432)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at
>>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:432)
>>> at
>>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:100)
>>> at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
>>> at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>> at java.lang.reflect.Method.invoke(Method.java:498)
>>> at
>>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>>> at
>>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>>> at
>>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>>> at
>>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>>> at
>>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportRe

Re: [Dev] [IS] Not able to login to the system after configuring OTP with secondary user store

2016-05-31 Thread Omindu Rathnaweera
Seems this can happen when the username without domain name is passed in to
[1]. So the getClaimFromUserStoreManager method always searches in the
primary user store.

[1] -
https://github.com/wso2/carbon-identity/blob/v5.0.7/components/identity-mgt/org.wso2.carbon.identity.mgt/src/main/java/org/wso2/carbon/identity/mgt/IdentityMgtEventListener.java#L301

Regards,
Omindu.

On Tue, May 31, 2016 at 8:10 PM, Tharindu Edirisinghe 
wrote:

> Hi Prakhash,
>
> Seems this is a bug ! Can you please debug the *doPostAuthenticate*
> method in *IdentityMgtEventListener* class of *org.wso2.carbon.identity.mgt
> component* and check what is wrong.
>
> According to the log it seems, the user is always searched in the primary
> userstore.
>
> Step by step guide for setting up the feature is in [1].
>
> [1]
> http://tharindue.blogspot.com/2015/10/a-step-by-step-guide-to-setup-one-time.html
>
> Regards,
> TharinduE
>
> On Tue, May 31, 2016 at 7:35 PM, Prakhash Sivakumar 
> wrote:
>
>> Hi all,
>> I have tried to use OTP with secondary user store(MySql database), I'm
>> not able to login to the system with a user profile when OTP is enabled for
>> the specific user and I'm getting the UserStoreException.
>>
>> Do I need to do any specific configuration in addition to the usual
>> scenario to use OTP with secondary user store ?
>>
>> I'm using IS 5.1 release
>>
>> [2016-05-31 19:16:18,361] @prakhash.com [1] [IS]ERROR
>> {org.wso2.carbon.identity.mgt.util.Utils} -  Unable to retrieve the claim
>> for user : Test4
>> org.wso2.carbon.user.core.UserStoreException: UserNotFound: User
>> Test4does not exist in: PRIMARY
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:158)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:684)
>> at
>> org.wso2.carbon.identity.mgt.util.Utils.getClaimFromUserStoreManager(Utils.java:191)
>> at
>> org.wso2.carbon.identity.mgt.IdentityMgtEventListener.doPostAuthenticate(IdentityMgtEventListener.java:302)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:548)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:479)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:441)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:432)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at
>> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:432)
>> at
>> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:100)
>> at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at
>> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
>> at
>> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
>> at
>> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
>> at
>> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
>> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
>> at
>> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
>> at
>> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
>> at
>> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)

Re: [Dev] [IS] Not able to login to the system after configuring OTP with secondary user store

2016-05-31 Thread Tharindu Edirisinghe
Hi Prakhash,

Seems this is a bug ! Can you please debug the *doPostAuthenticate* method
in *IdentityMgtEventListener* class of *org.wso2.carbon.identity.mgt
component* and check what is wrong.

According to the log it seems, the user is always searched in the primary
userstore.

Step by step guide for setting up the feature is in [1].

[1]
http://tharindue.blogspot.com/2015/10/a-step-by-step-guide-to-setup-one-time.html

Regards,
TharinduE

On Tue, May 31, 2016 at 7:35 PM, Prakhash Sivakumar 
wrote:

> Hi all,
> I have tried to use OTP with secondary user store(MySql database), I'm not
> able to login to the system with a user profile when OTP is enabled for the
> specific user and I'm getting the UserStoreException.
>
> Do I need to do any specific configuration in addition to the usual
> scenario to use OTP with secondary user store ?
>
> I'm using IS 5.1 release
>
> [2016-05-31 19:16:18,361] @prakhash.com [1] [IS]ERROR
> {org.wso2.carbon.identity.mgt.util.Utils} -  Unable to retrieve the claim
> for user : Test4
> org.wso2.carbon.user.core.UserStoreException: UserNotFound: User Test4does
> not exist in: PRIMARY
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:158)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:684)
> at
> org.wso2.carbon.identity.mgt.util.Utils.getClaimFromUserStoreManager(Utils.java:191)
> at
> org.wso2.carbon.identity.mgt.IdentityMgtEventListener.doPostAuthenticate(IdentityMgtEventListener.java:302)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:548)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:479)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:441)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:432)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:432)
> at
> org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:100)
> at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at
> org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
> at
> org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
> at
> org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
> at
> org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
> at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
> at
> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
> at
> org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
> at
> org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
> at
> org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
> at
> org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
> at
> org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminCl

[Dev] [IS] Not able to login to the system after configuring OTP with secondary user store

2016-05-31 Thread Prakhash Sivakumar
Hi all,
I have tried to use OTP with secondary user store(MySql database), I'm not
able to login to the system with a user profile when OTP is enabled for the
specific user and I'm getting the UserStoreException.

Do I need to do any specific configuration in addition to the usual
scenario to use OTP with secondary user store ?

I'm using IS 5.1 release

[2016-05-31 19:16:18,361] @prakhash.com [1] [IS]ERROR
{org.wso2.carbon.identity.mgt.util.Utils} -  Unable to retrieve the claim
for user : Test4
org.wso2.carbon.user.core.UserStoreException: UserNotFound: User Test4does
not exist in: PRIMARY
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.callSecure(AbstractUserStoreManager.java:158)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.getUserClaimValues(AbstractUserStoreManager.java:684)
at
org.wso2.carbon.identity.mgt.util.Utils.getClaimFromUserStoreManager(Utils.java:191)
at
org.wso2.carbon.identity.mgt.IdentityMgtEventListener.doPostAuthenticate(IdentityMgtEventListener.java:302)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:548)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
at java.security.AccessController.doPrivileged(Native Method)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticateInternal(AbstractUserStoreManager.java:479)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.access$100(AbstractUserStoreManager.java:70)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:456)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager$4.run(AbstractUserStoreManager.java:453)
at java.security.AccessController.doPrivileged(Native Method)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:453)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:441)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager$3.run(AbstractUserStoreManager.java:432)
at java.security.AccessController.doPrivileged(Native Method)
at
org.wso2.carbon.user.core.common.AbstractUserStoreManager.authenticate(AbstractUserStoreManager.java:432)
at
org.wso2.carbon.core.services.authentication.AuthenticationAdmin.login(AuthenticationAdmin.java:100)
at sun.reflect.GeneratedMethodAccessor131.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at
org.apache.axis2.rpc.receivers.RPCUtil.invokeServiceClass(RPCUtil.java:212)
at
org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:117)
at
org.apache.axis2.receivers.AbstractInOutMessageReceiver.invokeBusinessLogic(AbstractInOutMessageReceiver.java:40)
at
org.apache.axis2.receivers.AbstractMessageReceiver.receive(AbstractMessageReceiver.java:110)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:169)
at
org.apache.axis2.transport.local.LocalTransportReceiver.processMessage(LocalTransportReceiver.java:82)
at
org.wso2.carbon.core.transports.local.CarbonLocalTransportSender.finalizeSendWithToAddress(CarbonLocalTransportSender.java:45)
at
org.apache.axis2.transport.local.LocalTransportSender.invoke(LocalTransportSender.java:77)
at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:442)
at
org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:430)
at
org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:225)
at org.apache.axis2.client.OperationClient.execute(OperationClient.java:149)
at
org.wso2.carbon.authenticator.stub.AuthenticationAdminStub.login(AuthenticationAdminStub.java:659)
at
org.wso2.carbon.authenticator.proxy.AuthenticationAdminClient.login(AuthenticationAdminClient.java:64)
at
org.wso2.carbon.ui.DefaultCarbonAuthenticator.doAuthentication(DefaultCarbonAuthenticator.java:119)
at
org.wso2.carbon.ui.AbstractCarbonUIAuthenticator.handleSecurity(AbstractCarbonUIAuthenticator.java:218)
at
org.wso2.carbon.ui.BasicAuthUIAuthenticator.authenticate(BasicAuthUIAuthenticator.java:83)
at
org.wso2.carbon.ui.CarbonUILoginUtil.handleLogin(CarbonUILoginUtil.java:380)
at
org.wso2.carbon.ui.CarbonSecuredHttpContext.handleSecurity(CarbonSecuredHttpContext.java:244)
at
org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:60)
at
org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxySer