Identity Exception
209120922093209420952096209720982099210021012102210321042105210621072108
{ hibernateCredential.setBinaryValue((byte[])value); } else { throw new IdentityException("Not supported credential value: " + value.getClass()); } hibernateSession.persist(hibernateCredential); hibernateObject.addCredential(hibernateCredential); } else { throw new IdentityException("CredentialType not supported for a given IdentityObjectType"); } }
21342135213621372138213921402141
{ return ((Session)ctx.getIdentityStoreSession().getSessionContext()); } catch (Exception e) { throw new IdentityException("Cannot obtain Hibernate Session", e); } }
217421752176217721782179218021812182
if (!getSupportedFeatures().isIdentityObjectTypeSupported(iot)) { if (!isAllowNotDefinedIdentityObjectTypes()) { throw new IdentityException("IdentityType not supported by this IdentityStore implementation: " + iot); } } }
221022112212221322142215221622172218221922202221222222232224
} catch (Exception e) { throw new IdentityException("IdentityObjectType[" + type.getName() + "] not present in the store.", e); } if (hibernateType == null) { throw new IdentityException("IdentityObjectType[" + type.getName() + "] not present in the store."); } return hibernateType; }
2239224022412242224322442245224622472248
.setParameter("realm", getRealm(hibernateSession, ctx)) .uniqueResult(); } catch (Exception e) { throw new IdentityException("IdentityObject[ " + io.getName() + " | " + io.getIdentityType().getName() + "] not present in the store.", e); } return hibernateObject; }
2261226222632264226522662267226822692270
.setParameter("name", iot.getName()) .uniqueResult(); } catch (Exception e) { throw new IdentityException("IdentityObjectRelationshipType[ " + iot.getName() + "] not present in the store."); } return relationshipType; }
22802281228222832284228522862287228822892290
hibernateType = (HibernateIdentityObjectCredentialType)session. createCriteria(HibernateIdentityObjectCredentialType.class).add(Restrictions.eq("name", credentialType.getName())).uniqueResult(); } catch (HibernateException e) { throw new IdentityException("IdentityObjectCredentialType[ " + credentialType.getName() + "] not present in the store."); } return hibernateType; }
23622363236423652366236723682369
} catch (Exception e) { throw new IdentityException("Failed to create store realm", e); } }
2446244724482449245024512452
{ mapping = name; return mapping; } throw new IdentityException("Attribute name is not configured in this store"); }
537538539540541542543544545546547
IdentitySearchCriteriaImpl.applyCriteria(identitySession, convertSearchControls(criteria), identities); } } catch (Exception e) { throw new IdentityException("Failed to apply criteria", e); } return identities; }