log.debug("Processing "
+ spc.readCurrentSecurityToken().getTokenName() + ": "
+ SecurityProcessorContext.ACTION_NAMES[spc.getAction()]);
try {
if(spc.getAction() == SecurityProcessorContext.START) {
Layout layout = (Layout) spc.readCurrentPolicyEngineData();
layout.setValue(spc.getAssertion().getName().getLocalPart());
((Binding)spc.readPreviousPolicyEngineData()).setLayout(layout);
}
} catch (WSSPolicyException e) {
log.error(e.getMessage(), e);
return new Boolean(false);