Author: prabath
Date: Fri Jan 25 03:44:45 2008
New Revision: 12901
Log:
changes as per the base class modifications
Modified:
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIDTokenIssuer.java
Modified:
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIDTokenIssuer.java
==============================================================================
---
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIDTokenIssuer.java
(original)
+++
trunk/solutions/identity/modules/identity-provider/src/main/java/org/wso2/solutions/identity/sts/OpenIDTokenIssuer.java
Fri Jan 25 03:44:45 2008
@@ -26,6 +26,7 @@
import org.opensaml.SAMLException;
import org.w3c.dom.Document;
+import org.w3c.dom.Node;
import org.wso2.solutions.identity.IdentityConstants;
import org.wso2.solutions.identity.IdentityProviderException;
@@ -54,9 +55,9 @@
* Overrides the base functionality to cater OpenID related functionality.
*/
protected OMElement createRSTR(RahasData data, Date notBefore,
- Date notAfter, SOAPEnvelope env, Document doc,
- SAMLAssertion assertion, WSSecEncryptedKey encryptedKey)
- throws TrustException, SAMLException, IdentityProviderException {
+ Date notAfter, SOAPEnvelope env, Document doc, Node assertionElem,
+ String assertionId, WSSecEncryptedKey encryptedKey)
+ throws TrustException, SAMLException, IdentityProviderException {
int wstVersion = data.getVersion();
MessageContext inMsgCtx = data.getInMessageContext();
@@ -112,12 +113,12 @@
createOpenIdToken(reqSecTokenElem);
- createAttachedRef(rstrElem, assertion.getId());
- createUnattachedRef(rstrElem, assertion.getId());
+ createAttachedRef(rstrElem, assertionId);
+ createUnattachedRef(rstrElem, assertionId);
// Store the Token
- Token assertionToken = new Token(assertion.getId(), (OMElement) doc
- .importNode(assertion.toDOM(), true), notBefore, notAfter);
+ Token assertionToken = new Token(assertionId, (OMElement) doc
+ .importNode(assertionElem, true), notBefore, notAfter);
// At this point we definitely have the secret
// Otherwise it should fail with an exception earlier
_______________________________________________
Identity-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/identity-dev