3 Replies Latest reply on Oct 22, 2008 10:56 AM by jej2003

    Using JAAS in SSB

    jej2003

      I am completely new to JAAS so if I say something stupid sorry in advance.


      I am attempting to create a SSB that will take a username/password and authenticate against a JAAS Domain. Is there any documentation that details how to do something along these lines? Any information would be much appreciated.

        • 1. Re: Using JAAS in SSB
          jej2003

          And to provide some more insight.

          I have several types of applications that I need to support (thin clients, thick clients, flash clients, etc) and need to provide a way for all clients to authenticate against a JAAS domain. Does JBoss provide a mechanism to do this?

          • 2. Re: Using JAAS in SSB
            jej2003

            Ok, so I have gotten a little farther with this and was hoping someone could push me over the edge.

            I have an EJB whose only purpose in life is to determine the set of Roles a user belongs to. The EJB looks up the JaasSecurityManager and I would like to invoke getUserRoles on it, but what is the 3rd parameter of type Object used for?

            • 3. Re: Using JAAS in SSB
              jej2003

              answered my own question.

              This interface seems a bit quirky to me though. I don't have access to the users credentials at this point so is there another way to get a list of roles that the user belongs to?