5 Replies Latest reply on Jul 8, 2016 10:29 AM by Bubul Dey

    Is is possible to configure Jboss Security Domain to use local OS security ?

    Bubul Dey Newbie

      I am trying to configure JBoss security domain to use local OS registry. Hope this is possible using waffle but not able to understand how to configure the security domain.

      Tried writing custom program but not able to understand how to configure the security domain and how the username and password will be passed to the code

       

       

      here is the sample code

       

       

      public static boolean isValidUser(String username , String password){

        WindowsAuthProviderImpl authenticationProvider = new WindowsAuthProviderImpl();

        IWindowsIdentity loggedOnUser = authenticationProvider.logonUser(username, password);

        if(!loggedOnUser.isGuest()){

             return true;

        }

          return false;

      }

       

       

      Can anyone please help me doing so ?

       

       

      Thanks!

       

       

      Regards,

      Siddhartha