public IdentitySessionFactory buildIdentitySessionFactory() throws IdentityConfigurationException { Map<String, IdentitySessionConfigurationContext> realmMap = null; if (configMD == null) { throw new IdentityConfigurationException("Failed to build IdentitySessionFactory. Configuration not initialized"); } try { realmMap = createRealmMap(configMD); } catch (Exception e) { throw new IdentityConfigurationException("Failed to build IdentitySessionFactory", e); } return new IdentitySessionFactoryImpl(realmMap); }
throw new IdentityConfigurationException("No identity-store configured"); throw new IdentityConfigurationException("identity-store name required"); throw new IdentityConfigurationException("identity-store \"" + storeMD.getId() + "\" class name required"); throw new IdentityConfigurationException("identity-store \"" + storeMD.getId() + "\" identity-object-type name" + "is not specified"); throw new IdentityConfigurationException("Attribute name not specified in identity-store \"" + storeMD.getId() + "\""); throw new IdentityConfigurationException("Attribute type not specified for attribute \"" + attrMD.getName() + "\" in identity-store \"" + storeMD.getId() + "\""); throw new IdentityConfigurationException("Unsupported attribute type in attribute \"" + attrMD.getName() + "\" in identity-store \"" + storeMD.getId() + "\""); throw new IdentityConfigurationException("identity-object-type-ref not specified" + "in identity-object-type \"" + typeMD.getName() + "\" in identity-store \"" + storeMD.getId() + "\""); throw new IdentityConfigurationException("identity-object-type-ref contains " + "not configured name \"" + relMD.getIdentityObjectTypeRef() + "\" in " + "identity-object-type \"" + typeMD.getName() throw new IdentityConfigurationException("relationship-type-ref not specified" + "in identity-object-type \"" + typeMD.getName() + "\" in identity-store \"" + storeMD.getId() + "\"");
throw new IdentityConfigurationException("Cannot unmarshal xml configuration: ", e);