}
private Boolean setAlgoGroup(SecurityProcessorContext spc) {
if (spc.getAction() == SecurityProcessorContext.START) {
try {
AlgorithmSuite algoSuite = (AlgorithmSuite) spc
.readCurrentPolicyEngineData();
algoSuite.setAlgorithmSuite(spc.getAssertion().getName()
.getLocalPart());
((AlgorithmWrapper) spc.readPreviousPolicyEngineData())
.setAlgorithmSuite(algoSuite);
} catch (WSSPolicyException e) {
log.error(e.getMessage(), e);