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.

SAML […]

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. ——————————————— package com.test; import java.io.ByteArrayInputStream; import java.io.DataInputStream; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.security.KeyFactory; import java.security.KeyStore; import java.security.PrivateKey; import java.security.cert.Certificate; import java.security.cert.CertificateFactory; import java.security.spec.PKCS8EncodedKeySpec; import java.util.Collection; /** * * ImportKey.java * * * * This class imports a key and a certificate into a keystore * ($home/keystore.ImportKey). If […]

Continue reading about ImportKey.java Class to make keystore