0 Replies Latest reply on Mar 2, 2015 5:12 AM by kshiva

    Principal name is null on SessionTimeout

    kshiva

      Hello Team,

       

      On Session timeout, I redirect the User to logout of the application. I am getting principal name as null on session time out, due to that, there is an error thrown in SAML2LogoutHandler.java class

       if (userPrincipal == null) {
                              throw logger.samlHandlerPrincipalNotFoundError();
                          }
      

       

      I want to handle this condition and want to write a custom logout handler implementing the SAML2LogoutHandler functionality. Please suggest an appropriate way to do this.

      Or, are there any quickstarts or examples which can help me out?

       

      Regards,

      Krishna S