code: private void initializeSecurityManager(SubjectAwareDescriptor subjectAware)
    {
      String cfg = subjectAware.getConfiguration();
  
      if (cfg.length() > 0)
      {
        Factory<SecurityManager> factory = new IniSecurityManagerFactory(cfg);
        SecurityManager securityManager = factory.getInstance();
  
        SecurityUtils.setSecurityManager(securityManager);
      }
  
      String username = subjectAware.getUsername();
  
      if ((username != null) && (username.length() > 0))
      {
        UsernamePasswordToken token = new UsernamePasswordToken(username,
                                        subjectAware.getPassword());
  
        SecurityUtils.getSubject().login(token);
      }
    }
docs: Method description
  
  
  @param subjectAware