title: Get custom user attributes from AD in weblogic
body: <p>CAn anybody describe me how to get additional user attributes from AD using weblogic security?
  I have configured security provider and trying to authenticate in my JEE application.</p>
  
  <pre><code>        HttpServletRequest request =
              (HttpServletRequest)((ServletRequest)ADFContext.getCurrent().getEnvironment().getRequest());
          CallbackHandler handler =
              new SimpleCallbackHandler(username, password);               
          try {
              Subject subject = Authentication.login(handler);
              ServletAuthentication.runAs(subject, request);              
          } catch (Exception e) {
              e.printStackTrace();
              return "fail";
          }
  </code></pre>
  
  <p>Everything is OK. But from Subject I can take only user login and role, but I need user phone and employeeNumber. How can I do it?</p>