Thanks Hasintha Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729
On Mon, Mar 13, 2017 at 10:08 PM, Hasintha Indrajee <hasin...@wso2.com> wrote: > You can capture successful as well as unsuccessful login attempts through > an extension point in authentication framework. For an example please refer > the audit logger we have implemented in [1]. But your requirement seems > different. If you are implementing a custom authenticator for this, you can > keep track the failure count within authenticaitonContext and redirect to > the application if the number of failures exceeds your threshold value. > > > [1] https://github.com/wso2-extensions/identity-data- > publisher-authentication/blob/master/components/org.wso2. > carbon.identity.data.publisher.application.authentication/src/main/java/ > org/wso2/carbon/identity/data/publisher/application/authentication/impl/ > AuthenticationAuditLogger.java > > On Mon, Mar 13, 2017 at 10:02 PM, Danushka Fernando <danush...@wso2.com> > wrote: > >> Actually my requirement is to if that no exceeds certain amount, to >> return with an error message to the application. >> >> Thanks & Regards >> Danushka Fernando >> Senior Software Engineer >> WSO2 inc. http://wso2.com/ >> Mobile : +94716332729 <071%20633%202729> >> >> On Mon, Mar 13, 2017 at 9:58 PM, Farasath Ahamed <farasa...@wso2.com> >> wrote: >> >>> + adding Hasintha who worked on similar requirements for IS analytics >>> >>> Farasath Ahamed >>> Software Engineer, WSO2 Inc.; http://wso2.com >>> Mobile: +94777603866 >>> Blog: blog.farazath.com >>> Twitter: @farazath619 <https://twitter.com/farazath619> >>> <http://wso2.com/signature> >>> >>> >>> >>> On Mon, Mar 13, 2017 at 9:54 PM, Danushka Fernando <danush...@wso2.com> >>> wrote: >>> >>>> Hi All >>>> I have a sp configuration where I have configured step authentication. >>>> Is there a way to capture the no of failed attempts in a flow inside an >>>> authenticator? Whats the best way of capturing it? >>>> >>>> Thanks & Regards >>>> Danushka Fernando >>>> Senior Software Engineer >>>> WSO2 inc. http://wso2.com/ >>>> Mobile : +94716332729 <+94%2071%20633%202729> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> Dev@wso2.org >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >> > > > -- > Hasintha Indrajee > WSO2, Inc. > Mobile:+94 771892453 <+94%2077%20189%202453> > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev