Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-456

DefaultPartitionManager->getStoreForCredentialOperation handle null identityStore

XMLWordPrintable

      if (cls.isAssignableFrom(credentialClass)) {
      IdentityStore<?> identityStore = null;
      try

      { store = getIdentityStoreAndInitializeContext(context, identityConfiguration, storeConfig); }

      catch (ClassCastException cce)

      { throw MESSAGES.storeUnexpectedType(identityStore.getClass(), CredentialStore.class); }

      // if we found a specific handler for the credential, immediately return.
      if (cls.equals(credentialClass))

      { return store; }

      }

              psilva@redhat.com Pedro Igor Craveiro
              anil.saldhana Anil Saldanha (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: