I don't see anything obviously wrong there. I tried using a CXF system test
with that policy and it worked fine. Could you create a demo/test-case to
reproduce the problem + I'll take a look?

Colm.

On Fri, Mar 3, 2017 at 12:38 PM, pat7 <[email protected]> wrote:

> Hi,
> thx for reply.
> Yes, I have following dependencies in my pom.xml file.
>
>        <dependencies>
>                 <dependency>
>                         <groupId>org.springframework.boot</groupId>
>                         <artifactId>spring-boot-devtools</artifactId>
>                 </dependency>
>                 <dependency>
>                         <groupId>org.springframework.boot</groupId>
>                         <artifactId>spring-boot-starter-web</artifactId>
>                 </dependency>
>                  <dependency>
>                         <groupId>org.springframework.boot</groupId>
>                         <artifactId>spring-boot-starter-ws</artifactId>
>                 </dependency>
>                 <dependency>
>                         <groupId>org.springframework.boot</groupId>
>                         <artifactId>spring-boot-starter-test</artifactId>
>                         <scope>test</scope>
>                 </dependency>
>                 <dependency>
>                 <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-rt-frontend-jaxws</artifactId>
>                 <version>${cxf.version}</version>
>         </dependency>
>             <dependency>
>                 <groupId>org.apache.cxf</groupId>
>                 <artifactId>cxf-rt-transports-http</artifactId>
>                 <version>${cxf.version}</version>
>             </dependency>
>                 <dependency>
>                     <groupId>org.apache.cxf</groupId>
>                     <artifactId>cxf-rt-ws-security</artifactId>
>                 <version>${cxf.version}</version>
>                 </dependency>
>             <dependency>
>                     <groupId>org.apache.cxf</groupId>
>                     <artifactId>cxf-rt-ws-policy</artifactId>
>                     <version>${cxf.version}</version>
>                 </dependency>
>                 <dependency>
>                     <groupId>org.keycloak</groupId>
>                     <artifactId>keycloak-spring-boot-adapter</artifactId>
>                     <version>2.2.1.Final</version>
>                 </dependency>
>                 <dependency>
>                     <groupId>org.keycloak</groupId>
>                     <artifactId>keycloak-tomcat8-adapter</artifactId>
>                     <version>2.2.1.Final</version>
>                 </dependency>
>
>                  <dependency>
>                     <groupId>org.springframework.boot</groupId>
>                     <artifactId>spring-boot-starter-data-jpa</artifactId>
>                 </dependency>
>                 <dependency>
>                    <groupId>org.hsqldb</groupId>
>                    <artifactId>hsqldb</artifactId>
>                    <scope>runtime</scope>
>                 </dependency>
>                 <dependency>
>                    <groupId>org.springframework.boot</groupId>
>                    <artifactId>spring-boot-starter-jdbc</artifactId>
>                 </dependency>
>                 <dependency>
>                   <groupId>mysql</groupId>
>                   <artifactId>mysql-connector-java</artifactId>
>                   <scope>runtime</scope>
>                 </dependency>
>          </dependencies>
>
> I really read a lot, but I did not a solution for my problem.
>
> kind regards,
> patrick
>
>
>
> --
> View this message in context: http://cxf.547215.n5.nabble.
> com/Bipro-Security-token-service-simple-Usernametoken-
> tp5777721p5777750.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Reply via email to