SubjectResolver subjectResolver = context.getSubjectResolver();
subject = (subjectResolver != null)?
subjectResolver.resolve((Principal)getProperty(Property.PRINCIPAL)) : null;
TargetResolver targetResolver = context.getTargetResolver();
target = (targetResolver != null) ?
targetResolver.resolve(this) : null;
}