Archive for category Java

Getting All Field Names and their corresponding values using Java Reflection


Hi All, Today I am posting a simple source code to get all field names and their corresponding valuea present in a java class. Here I am using a simple java Reflection concept. Using java reflection we can access even private fields and can modify their vales. For more details on this you can refer […]

, ,

1 Comment

Sign SAML Assertion using OpenSAML


Hi All, After long time I am posting some useful stuff to my blog. In this post I am trying to write code for signign assertion which is generated by OpenSAML ans signing is aslo performed by OpenSAML API’s. Generating SAML assertion code can be found at http://blog.keksrolle.de/2010/07/27/how-to-create-a-valid-saml-2-0-assertion-with-opensaml-for-java.html The code below uses keystore and x509 […]

, , , ,

16 Comments