public List<WSSecurityEngineResult> handleToken( Element elem, RequestData data, WSDocInfo wsDocInfo ) throws WSSecurityException { if (log.isDebugEnabled()) { log.debug("Found reference list element"); } List<WSDataRef> dataRefs = handleReferenceList(elem, data, wsDocInfo); WSSecurityEngineResult result = new WSSecurityEngineResult(WSConstants.ENCR, dataRefs); String tokenId = elem.getAttributeNS(null, "Id"); if (!"".equals(tokenId)) { result.put(WSSecurityEngineResult.TAG_ID, tokenId); } wsDocInfo.addTokenElement(elem); wsDocInfo.addResult(result); return java.util.Collections.singletonList(result); }
public List<WSSecurityEngineResult> handleToken( Element elem, RequestData data, WSDocInfo wsDocInfo ) throws WSSecurityException { if (log.isDebugEnabled()) { log.debug("Found reference list element"); } List<WSDataRef> dataRefs = handleReferenceList(elem, data, wsDocInfo); WSSecurityEngineResult result = new WSSecurityEngineResult(WSConstants.ENCR, dataRefs); String tokenId = elem.getAttributeNS(null, "Id"); if (!"".equals(tokenId)) { result.put(WSSecurityEngineResult.TAG_ID, tokenId); } wsDocInfo.addTokenElement(elem); wsDocInfo.addResult(result); return java.util.Collections.singletonList(result); }
new WSSecurityEngineResult(WSConstants.SC, sigConf); if (!"".equals(id)) { result.put(WSSecurityEngineResult.TAG_ID, id);
new WSSecurityEngineResult(WSConstants.SC, sigConf); if (!"".equals(id)) { result.put(WSSecurityEngineResult.TAG_ID, id);
new WSSecurityEngineResult(WSConstants.TS, timestamp); String tokenId = timestamp.getID(); if (!"".equals(tokenId)) {
new WSSecurityEngineResult(WSConstants.TS, timestamp); String tokenId = timestamp.getID(); if (!"".equals(tokenId)) {
WSSecurityEngineResult result = null; if (samlAssertion.isSigned()) { result = new WSSecurityEngineResult(WSConstants.ST_SIGNED, samlAssertion); result.put(WSSecurityEngineResult.TAG_DATA_REF_URIS, dataRefs); } else { result = new WSSecurityEngineResult(WSConstants.ST_UNSIGNED, samlAssertion);
WSSecurityEngineResult result = null; if (samlAssertion.isSigned()) { result = new WSSecurityEngineResult(WSConstants.ST_SIGNED, samlAssertion); result.put(WSSecurityEngineResult.TAG_DATA_REF_URIS, dataRefs); } else { result = new WSSecurityEngineResult(WSConstants.ST_UNSIGNED, samlAssertion);
new WSSecurityEngineResult(WSConstants.SCT, sct); if (validator != null) {
new WSSecurityEngineResult(WSConstants.SCT, sct); if (validator != null) {
new WSSecurityEngineResult(WSConstants.BST, token, certs); wsDocInfo.addTokenElement(elem); if (!"".equals(id)) {
engineResult = new WSSecurityEngineResult(WSConstants.UT, principal, null, null, null);
new WSSecurityEngineResult(WSConstants.BST, token, certs); wsDocInfo.addTokenElement(elem); if (!"".equals(id)) {
engineResult = new WSSecurityEngineResult(WSConstants.UT, principal, null, null, null);
engineResult = new WSSecurityEngineResult(WSConstants.UT, principal, null, null, null);
engineResult = new WSSecurityEngineResult(WSConstants.UT, principal, null, null, null);
WSSecurityEngineResult result = new WSSecurityEngineResult(action, token); String tokenId = token.getID(); if (!"".equals(tokenId)) {
WSSecurityEngineResult result = new WSSecurityEngineResult(action, token); String tokenId = token.getID(); if (!"".equals(tokenId)) {
byte[] keyBytes = dkt.deriveKey(length, secret); WSSecurityEngineResult result = new WSSecurityEngineResult(WSConstants.DKT, null, keyBytes, null); wsDocInfo.addTokenElement(elem); String tokenId = dkt.getID();
byte[] keyBytes = dkt.deriveKey(length, secret); WSSecurityEngineResult result = new WSSecurityEngineResult(WSConstants.DKT, null, keyBytes, null); wsDocInfo.addTokenElement(elem); String tokenId = dkt.getID();