/** * Get the id of the BSt generated during <code>prepare()</code>. * * @return Returns the the value of wsu:Id attribute of the * BinaruSecurityToken element. */ public String getBSTTokenId() { if (bstToken == null) { return null; } return bstToken.getID(); }
private SecurityToken createSecurityToken(BinarySecurity binarySecurityToken) { SecurityToken token = new SecurityToken(binarySecurityToken.getID()); token.setToken(binarySecurityToken.getElement()); token.setSecret(binarySecurityToken.getToken()); token.setTokenType(binarySecurityToken.getValueType()); return token; }
private SecurityToken createSecurityToken(BinarySecurity binarySecurityToken) { SecurityToken token = new SecurityToken(binarySecurityToken.getID()); token.setToken(binarySecurityToken.getElement()); token.setSecret(binarySecurityToken.getToken()); token.setTokenType(binarySecurityToken.getValueType()); return token; }
} else if (tempTok instanceof BinarySecurity) { BinarySecurity bst = (BinarySecurity)tempTok; part = new WSEncryptionPart(bst.getID()); part.setElement(bst.getElement()); } else if (tempTok instanceof SamlAssertionWrapper) {
} else if (tempTok instanceof BinarySecurity) { BinarySecurity bst = (BinarySecurity)tempTok; part = new WSEncryptionPart(bst.getID()); part.setElement(bst.getElement()); } else if (tempTok instanceof SamlAssertionWrapper) {