@Override
public ResolveObjectResponse resolveImmediately(final ResolveObjectRequest request) {
final AuthenticationSession session = request.getSession();
final IdentityData targetData = request.getTarget();
if (LOG.isDebugEnabled()) {
LOG.debug("request resolveImmediately " + targetData + " for " + session);
}
final ObjectSpecification spec = getSpecification(targetData.getType());
final ObjectAdapter object = getPersistenceSession().loadObject(targetData.getOid(), spec);
if (object.getResolveState().canChangeTo(ResolveState.RESOLVING)) {
// this is need when the object store does not load the object fully
// in the getObject() above
getPersistenceSession().resolveImmediately(object);