[jboss-dev-forums] [JBoss ESB Development] - Re: ClassCastException in CertificateLoginModule

h.wolffenbuttel do-not-reply at jboss.com
Wed Oct 7 09:27:59 EDT 2009


I need to fill the AuthenticationRequest and it's filled with the following code:


  |  <http-bus busid="Http-GouwESB-Nulstand" context="/gouwesb/httpsgateway/Nulstand">
  |     <property name="authMethod" value="CLIENT-CERT"/>
  |     <property name="securityDomain" value="java:/jaas/CertLogin"/>
  |     <property name="securityRole" value="worker"/>
  | </http-bus>
  | 

And the security is supposed to pickup the certificate information in the service declaration:


  |  <service category="HTTPService"
  |    description="WS Frontend speaks natively to the ESB"
  |    name="HTTPNulstandService">
  | 
  |    <security    callbackHandler="org.jboss.soa.esb.services.security.auth.login.CertCallbackHandler"
  |     moduleName="CertLogin" rolesAllowed="worker" runAs="worker" useCallerIdentity="false">
  |     <property name="alias" value="xxxxxxx"/>
  |    </security>
  | 
  |    <listeners>    
  |     <http-listener busidref="Http-GouwESB-Nulstand" is-gateway="true"
  |      maxThreads="1" name="Http-Nullstand-Gateway"/>
  |     <jms-listener busidref="NulstandEsbBus" is-gateway="false"
  |      maxThreads="1" name="JMS-Nulstand-ESBListener"/>
  |    </listeners>
  |  ...
  | </service>
  | 

I don't know if this information does help? Do i need to use another module like CertRolesLoginModule?

Regards,

Hans

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259151#4259151

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259151



More information about the jboss-dev-forums mailing list