cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Morris Jr, David P" <david.p.morris...@lmco.com>
Subject SAMLCallBackHandler callback.setAuthDecisionStatementData
Date Wed, 18 May 2011 18:07:56 GMT
Running SOAPUI test, the evidence element is not present. I may need an example. The code did
work with openSAML2.0 and CXF 2.3.x (via interceptors) before SAMLCallBackHandler in CXF 2.4.0
-Thanks!

<saml2:AuthzDecisionStatement>
   <saml2:Action.../>
   <saml2:Evidence...> <!-this is missing -- >
       <saml2:Assertion...>
   </saml2:Evidence>
</saml2:AuthzDecisionStatement>

Environment: CXF 2.4.0, WS4J 1.6.0, Windows XP, Apache Tomcat 7.0.5

Code snippet:

//Build Evidence
EvidenceBuilder evidenceBuilder = new EvidenceBuilder();
Evidence evidence = evidenceBuilder.buildObject();

//Build assertion for Evidence
AssertionBuilder assertionBuilder = new AssertionBuilder();
Assertion assertion = assertionBuilder.buildObject();
assertion.setVersion(SAMLVersion.VERSION_20);

...
authDecisionStatementBean.setEvidence(evidence);

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message