case SecurityProcessorContext.START:
if (!initializedX509Token) {
try {
initializeX509Token(spt);
X509Token token = (X509Token)spc.readCurrentPolicyEngineData();
//Get the includeToken attr info
String includetokenUri = spc.getAssertion().getAttribute(
new QName(Constants.SP_NS,
Constants.ATTR_INCLUDE_TOKEN));
try {
if(includetokenUri != null) { //since its optional
token.setInclusion(includetokenUri);
}
((TokenWrapper)spc.readPreviousPolicyEngineData()).setToken(token);
} catch (WSSPolicyException e) {
// TODO Throw this out
e.printStackTrace();