Re: [Architecture] [RRT] Forcing the challenge question for Identity Server

2018-05-29 Thread Farasath Ahamed
On Tuesday, May 29, 2018, Rosen Silva wrote: > Hi All, > > I'm implementing a feature for IS 5.5.0 to force users to add answers to > challenge questions. > This feature is implemented using PostAuthenticationHandler. > > The logic executes in the following order, > * Check whether the user has

Re: [Architecture] [RRT] Forcing the challenge question for Identity Server

2018-05-30 Thread Dimuthu Leelarathne
Hi, In the original design we are calling OSGI services from a class on the BE server. The flow is to retrieve the questions from the OSGi service send it to the FE. I would prefer this method over calling admin services because it means the JSP applications needs to store Admin credentials in a c

Re: [Architecture] [RRT] Forcing the challenge question for Identity Server

2018-05-30 Thread Indunil Upeksha Rathnayake
Hi Rosen, In the PostAuthenticationHandler, from the authentication context, you can retrieve the authenticated user and tenant domain. From the PostAuthenticationHandler, ChallengeQuestionManager OSGI service can be invoked to get the challenge questions that authenticated user has not answered.