-
1. Re: WS-Security password callback class
rareddy Jun 10, 2015 6:58 PM (in response to mike_higgins)Mike,
What kind of ws-security you are configuring? UsernameToken?
Ramesh..
-
2. Re: WS-Security password callback class
mike_higgins Jun 11, 2015 10:00 AM (in response to rareddy)Yes, username token.
-
3. Re: WS-Security password callback class
rareddy Jun 11, 2015 12:28 PM (in response to mike_higgins)Mike,
Next question is are trying to pass-through the identity or configuring a static credential through your PasswordCallback class.
Ramesh..
-
-
4. Re: WS-Security password callback class
mike_higgins Jun 11, 2015 1:52 PM (in response to rareddy)Ramesh,
It's a static password.
Mike
-
5. Re: WS-Security password callback class
rareddy Jun 11, 2015 2:37 PM (in response to mike_higgins)Ok, Thanks. The easiest thing to do is place your PasswordCallback class's jar file into "<jboss-eap>/modules/system/layers/base/org/jboss/teiid/resource-adapter/webservice/main" directory and add entry in the module.xml for the JAR file and restart the server, with your above configuration.
I was searching for providing the password directly in CXF configuration did not find any. Also double checked if we had any dynamic module injection so that we can pick up these from VDB specific modules, but did not see any either. If it is pass-though there is additional amount of coding in creating a security-domain, but I have lot of security utility classes to help there with Ws-Security.
-
6. Re: WS-Security password callback class
mike_higgins Jun 11, 2015 3:02 PM (in response to rareddy)Thanks, Ramesh, I will do that.
Mike