If you find this blog helpful or useful then you can donate by clicking ads on this website.

Imran on February 24th, 2012

Each SAML InboundMessage is collected from SAML Message Context and casted into particular request Object. If its authentication request then inbound message will be casted into AuthnRequest. If its logout request then inbound message will be casted into LogoutRequest After casting inbound message, necessary action on token like parsing etc. taken into place. HttpServletRequestAdapter httpServletRequestAdapter […]

Continue reading about SAML LogoutRequest vs AuthnRequest

Steps to make a signed SAML Response for Identity-Provider (IdP) initiated authentication for sales force:   Created a certificate and a private key using openssl toolkit. Upload this certificate to the salesforce single sign on settings. Perform other single sign on settings (e.g Issuer, SAML User ID Type, SAML Version etc). Implementing necessary values taken […]

Continue reading about Steps to make a signed SAML Response for Identity-Provider (IdP) initiated authentication for sales force:

Use openssl toolkit to create a certificate.pem certificate and key.pem key. Convert both these to certificate.der and key.der in order to add in keystore(*.jks). Import these to the keystore using a JAVA class given here. It will create a keystore(*.jks) to be used to make signed SAML response.

Continue reading about Create a keystore (*.jks) for SAML in order to make it signed.

Imran on May 13th, 2011

View OpenSAML-J 2.3.1 Java API  here.  Saml api classes.

Continue reading about OpenSAML Java API classes

Imran on February 11th, 2011

See OpenSAML user manual here  

Continue reading about OpenSAML tutorials

Imran on May 18th, 2011

View complete description here. ———————————————  Java |  copy code |? 1<!–wp_fromhtmlpreview_devfmt–>  Java |  copy code |? 001package com.test;002 003import java.io.ByteArrayInputStream;004 005import java.io.DataInputStream;006 007import java.io.FileInputStream;008 009import java.io.FileOutputStream;010 011import java.io.IOException;012 013import java.io.InputStream;014 015import java.security.KeyFactory;016 017import java.security.KeyStore;018 019import java.security.PrivateKey;020 021import java.security.cert.Certificate;022 023import java.security.cert.CertificateFactory;024 025import java.security.spec.PKCS8EncodedKeySpec;026 027import java.util.Collection;028 029/**030 * * ImportKey.java * *031 *032 * This class imports a key and a certificate into a keystore * ($home/keystore.ImportKey). If the keystore is * already present, it033 * is simply deleted. Both the key and the * […]

Continue reading about ImportKey.java Class to make keystore