code: @Override
     public Credential getPrefillCredential()
     {
        if (this.prefillCredential == null)
        {
           if (cm.getSubjectFactory() == null || cm.getConnectionManagerConfiguration().getSecurityDomain() == null)
           {
              prefillCredential = new Credential(null, null);
           }
           else
           {
              prefillCredential =
                 new Credential(SecurityActions.createSubject(cm.getSubjectFactory(),
                                                              cm.getConnectionManagerConfiguration().getSecurityDomain(),
                                                              cm.getManagedConnectionFactory()),
                                null);
           }
        }
        return this.prefillCredential;
     }
docs: Get prefill credential
  
  @return credential used to prefill