Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
RGriveau
Contributor III
Contributor III

deactivate spring security for a jar execution

Hello,

I'm actually trying to launch routes into jar. I actually succeed to do that but the jar is launched with spring security

i tried several command lines to deactivate it but with no success.

I upgraded to v8 of talend, the same command line worked well in v7

--spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration,org.springframework.boot.actuate.autoconfigure.security.servlet.ManagementWebSecurityAutoConfiguration --spring.config.location=classpath:config/contexts/ --spring.config.name=DEV --camel.springboot.shutdownTimeout=1

Labels (2)
5 Replies
Anonymous
Not applicable

Hello,

What's error are you getting when deploying your route to runtime? Could you please post your esb error log here? which will be helpful for us to understand your current situation.

Best regards

Sabrina

RGriveau
Contributor III
Contributor III
Author

Hello,

My bad i wasn't clear in my explanations.

I don't have an error while deploying. We are using a healthcheck process and the fact that spring security is active, we can't do the healthcheck and the execution is considered unhealthy

Anonymous
Not applicable

Hello,

We have reported your requirement to our ESB experts already to see if there is any solution from talend and then come back to you as soon as we can.

Best regards

Sabrina

Anonymous
Not applicable

Hello,

Since 8.0.1-R2022-09, monitoring endpoints are always protected with basic authentication (See https://help.talend.com/r/en-US/8.0/studio-user-guide/running-microservice-route).

Best regards

Sabrina

RGriveau
Contributor III
Contributor III
Author

Hi Sabrina,

Is there a way to deactivate the basic auth?