>From the session context.

If you use EJB's, consult
http://java.sun.com/javaee/5/docs/api/javax/ejb/EJBContext.html

Luis


                                                                       
                                                                       
                                                                       
                                                                        To
                                       [email protected]         
                                                                        cc
     "BRACHET Maxime"                                                  
     <[EMAIL PROTECTED]>                                           Subject
                                       Re: [axis-user] Mutual          
     2008-06-12 12:58 PM               authentication with certificates
                                                                       
                                                                       
         Please respond to                                             
      [email protected]                                          
                                                                       
                                                                       




Hi,

That was what I was thinking about.
I can use Client-Auth form tomcat.
But how can I get the Certificates information of  SSL connexion from my
Axis application ?

Regards,
Maxime.

2008/6/12 Luis Bobo_Alten <[EMAIL PROTECTED]>:
  Also, you can set to mandatory the need of client certificate at
  Application Server level for the Axis2 Web Application (in web.xml).
  This way, depending on the type of App Server, you will be able to manage
  the certificate sent by the client and test it, assign roles information
  according with the retrieved Distinguished Name, etc.

  Regards,
  LB




  Nandana Mihindukulasooriya wrote:

              I wanted to perform a mutual authentication using
              certificates.


              Is it possible ? If someone have samples or clues to do it.


              Are you using Axis2 ? If so, please look at the Rampart
              policy sample 02 which can be found under samples/policy in
              the Rampart binary distribution. It shows how mutual
              authentication using certificates can be archived using Axis2
              / Rampart.


              thanks, nandana


              -- Nandana Mihindukulasooriya WSO2 inc.


              http://nandana83.blogspot.com/




<<inline: graycol.gif>>

<<inline: pic21659.gif>>

<<inline: ecblank.gif>>

Reply via email to