*/
DefaultPrincipal defaultPrincipal = securityHolder.getDefaultPrincipal();
if (defaultPrincipal != null){
defaultSubject = ConfigurationUtil.generateDefaultSubject(defaultPrincipal);
ContextManager.registerSubject(defaultSubject);
SubjectId id = ContextManager.getSubjectId(defaultSubject);
defaultSubject.getPrincipals().add(new IdentificationPrincipal(id));
}
PolicyContextValve policyValve = new PolicyContextValve(
securityHolder.getPolicyContextID());