Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Danushka Fernando
Managed to return to application with following. But still working on sending a response with this. I added this parameter to authenticator public boolean isMaxRetriesExceeded = false; Then I override the retryAuthenticationEnabled as follows. @Override protected boolean

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Danushka Fernando
Hi Harsha What I wants to achieve is to return a failed response to application side with some failure details after no of failed attempts. Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Tue, Mar 14, 2017 at 11:31 AM, Harsha

Re: [Dev] [IS] Returning to application with authentication failure state

2017-03-14 Thread Harsha Thirimanna
On Tue, Mar 14, 2017 at 11:07 AM, Danushka Fernando wrote: > Hi All > > I am trying to work on $subject. While looking in to $subject I found a > status in AuthenticatorFlowStatus class named FAIL_COMPLETED but we > haven't used it in the code. So even from the authenticator

[Dev] [IS] Returning to application with authentication failure state

2017-03-13 Thread Danushka Fernando
Hi All I am trying to work on $subject. While looking in to $subject I found a status in AuthenticatorFlowStatus class named FAIL_COMPLETED but we haven't used it in the code. So even from the authenticator I set that value it won't take an effect. I guess we should have use that state and since