File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes SAML in java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SAML in java" Watch "SAML in java" New topic
Author

SAML in java

Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

i am a beginner in java, i need to study SAML into java, please suggest some beginner guide, so i can make some small project, and implement some small modules.


Regards, Atul.
I came to this world on a Learner's License
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Hi Atul,
You can use Apache Rampart, which supports SAML 2.0. Good luck!


Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
Rampart implies Axis, and thus web services. Instead, you may wish to check out some of the open source Java SAML implementations.


Ping & DNS - my free Android networking tools app
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

thanks Ulf and naren,

I went through the material provided by you, understand some concepts from it, i need to design it for a simple login page on tomcat server, what should i do, and how must i proceed? please suggest and help.


thanks in advance.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42371
    
  64
How do you envision SAML to fit into the workings of a login page? Describe the security architecture to us.
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Hi Ulf,

i need to setup a identity provider (idP) and some webserver or serviceprovider (SP), and authenticate with simple java if statement (will do)
i have been reffered to this by my colleague http://en.wikipedia.org/wiki/Security_Assertion_Markup_Language and told me to develop some UI utilizing SAML between the iDP and SP.

even i tried to find out some idP but didnot get any.
Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Atul,

Do you need this authentication solution within a company or on the internet? because SAML is great on the internet while on the intranet there are some older technologies.

Regards,
Dan


William Butler Yeats: All life is a preparation for something that probably will never happen. Unless you make it happen.
Naren Chivukula
Ranch Hand

Joined: Feb 03, 2004
Posts: 577

Hi Dan,
Thanks for chipping in. Can you be specific on what other old technologies you are referring?

Cheers,
Naren
Atul Darne
Ranch Hand

Joined: Jul 05, 2009
Posts: 118

Hi Dan ,

I need this authentication solution within a company and on internet both. your help would be a great boon in understanding the concept for me.
currently iam understanding SAML API, but there are no examples utilizing the functions in the API. where do i get them to make some simple SAML Assertions, Request and make the Response (Manually will do i.e by using servlets and replying again with the Response. for my understanding.)



Dan Drillich
Ranch Hand

Joined: Jul 09, 2001
Posts: 1180
Naren Chivukula wrote:
Can you be specific on what other old technologies you are referring?


1. Siteminder
2. Active Directory Authentication
3. LDAPS

Difference between LDAP and Siteminder? might be helpful.

Regards,
Dan
Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 166

I am also searching for some sample examples from which I can start SAML 2.0 implementation for my web sites. Can somebody just point me the tutorial or sample package on this?
@Atul Darne:: Have you implemented the same?


No pain, No gain.
OCJP 1.6
Kumaravadivel Subramani
Ranch Hand

Joined: Jul 05, 2008
Posts: 166

I hope the below sample package might give you some insight on SAML implementation in java.

http://code.google.com/p/google-apps-sso-sample/downloads/detail?name=sso-sample-1.0.1-java.zip&can=1&q=
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SAML in java