}
public UsernameTokenInterceptorProvider(UsernameTokenInterceptor inInterceptor) {
super(Arrays.asList(SP12Constants.USERNAME_TOKEN, SP11Constants.USERNAME_TOKEN));
this.getOutInterceptors().add(new UsernameTokenInterceptor());
this.getInInterceptors().add(inInterceptor == null ? new UsernameTokenInterceptor() : inInterceptor);
//not needed on fault chains
this.getOutInterceptors().add(PolicyBasedWSS4JStaxOutInterceptor.INSTANCE);
this.getOutFaultInterceptors().add(PolicyBasedWSS4JStaxOutInterceptor.INSTANCE);
this.getInInterceptors().add(PolicyBasedWSS4JStaxInInterceptor.INSTANCE);