Hi,
i added a domain information to the username.
Before, the username contained only the name "Robert", but it contains also the domain "LOCAL\Robert".
The XwsSecurityInterceptor is configured with a usernametoken policy and is called fine for every request.
You can see, my authenticaton privider does an successful authentication, but after that the XwsSecurityInterceptor fails.Code:3379204 [http-8080-Processor24] INFO security.JdbcAuthenticationProvider - User 'LOCAL\Robert Glaser' successfully authenticated. 3379204 [http-8080-Processor24] DEBUG support.XmlWebApplicationContext - Publishing event in context [Root WebApplicationContext]: org.acegisecurity.event.authentication.AuthenticationSuccessEvent[source=org.acegisecurity.providers.UsernamePasswordAuthenticationToken@e4ad2669: Username: EIMUser 'LOCAL\Robert Glaser' GGUID: F2F1FFD819E04F1B932F9C5328F4575C; Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_USER] 3379204 [http-8080-Processor24] WARN authentication.LoggerListener - Authentication event AuthenticationSuccessEvent: LOCAL\Robert Glaser; details: null 3379204 [http-8080-Processor24] DEBUG security.EIMPasswordValidationCallbackHandler - Authentication success: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@e4ad2669: Username: EIMUser 'LOCAL\Robert Glaser' GGUID: F2F1FFD819E04F1B932F9C5328F4575C; Password: [PROTECTED]; Authenticated: true; Details: null; Granted Authorities: ROLE_USER 3387705 [http-8080-Processor24] WARN xwss.XwsSecurityInterceptor - Could not validate request: java.lang.IllegalArgumentException: improperly specified input name: CN=LOCAL\Robert Glaser; nested exception is com.sun.xml.wss.XWSSecurityException: java.lang.IllegalArgumentException: improperly specified input name: CN=LOCAL\Robert Glaser
It fails at this line
Any idea how i can avoid the XWSSecurityException execption?Code:SOAPMessage result = processor.verifyInboundMessage(context);
Cheers,
Ingo


Reply With Quote
