Re: SAML2.0 Encrypted assertion is not working.

2014-08-01 Thread Sergey Beryozkin
bble.com/SAML2-0-Encrypted-assertion-is-not-working-tp5747089p5747169.html To unsubscribe from SAML2.0 Encrypted assertion is not working., click here <http://cxf.547215.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5747089&code=cmF0aG5hcGFuZGkubkBnbWFpbC5jb218N

Re: SAML2.0 Encrypted assertion is not working.

2014-07-31 Thread rathnapandi
79:D3:FB:5D:7B:6C:89:1B:CD:D4:25:3F:A0:87:74:09:07:2B:1F:77 > > cn=test, Jul 31, 2014, PrivateKeyEntry, > > Certificate fingerprint (SHA1): > > 86:A2:CC:BA:20:F7:89:23:F2:99:ED:C6:42:99:57:AE:25:CF:04:37 > > > > > > > > > > -- > > View this message in c

Re: SAML2.0 Encrypted assertion is not working.

2014-07-31 Thread Sergey Beryozkin
Looks like it's a configuration issue, make sure the encryption properties have an alias set. example: org.apache.ws.security.crypto.provider=org.apache.ws.security.components.crypto.Merlin org.apache.ws.security.crypto.merlin.keystore.type=jks org.apache.ws.security.crypto.merlin.keystore.passw

Re: SAML2.0 Encrypted assertion is not working.

2014-07-31 Thread rathnapandi
Thanks Sergey, i am getting different exception while retrieving the private key. org.apache.wss4j.common.ext.WSSecurityException: Cannot find key for alias: [null] at org.apache.wss4j.common.crypto.Merlin.getPrivateKey(Merlin.java:688) at org.apache.cxf.rs.security.saml.sso.SAML

Re: SAML2.0 Encrypted assertion is not working.

2014-07-31 Thread Sergey Beryozkin
Hi It appears that a wrong DOM element was used to check the EncryptedKey element which is actually a sibling of EncryptedData, not a child. I know Colm has very extensively tested it against various IDPs but I believe none of them were encrypting the SAMLP responses. I've committed a possibl

SAML2.0 Encrypted assertion is not working.

2014-07-30 Thread rathnapandi
Hi, I am working on IDP initiated single sign on. while trying to decrypt the encrypted SAML assertion, i am getting following exception. org.apache.wss4j.common.ext.WSSecurityException: SAML token security failure at org.apache.cxf.rs.security.saml.sso.SAMLProtocolResponseValidator.decr