cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to disable the authentication pop up in Windchill?

Newbie

Is there a way to disable the authentication pop up in Windchill?

I have a jsp file in <WT_HOME>/netmarkets/jsp. Each time I access this JSP on my browser on a new session, it asks for the authentication pop up. Can I disable this pop up and handle the authentication within the code?

3 REPLIES 3

Re: Is there a way to disable the authentication pop up in Windchill?

The answer is NO. The URL is protected by Apache which needs authentication.

If you place it under <Windchill>/codebase, it does not need authentication.

Re: Is there a way to disable the authentication pop up in Windchill?

Not with the same URL.

You could, however, introduce an anonymously accessible URL of your own that establishes a current user via its own logic and then forwards the request to the JSP of interest.

How exactly this is done depends on your approach.

You could, for instance, create a subclass of wt.httpgw.filter.AbstractRemoteUserFilter (a supported class in the most recent versions of WC) that derives a user identity from the request in your own custom fashion, specify that as a filter for your own JSP, and then simply forward from that JSP to the JSP of interest.

On the other extreme, you could have a JSP containing its own logic that uses SessionHelper, etc, to set a current user and then forward to original JSP.

Re: Is there a way to disable the authentication pop up in Windchill?

Do you mean directly under Windchill/codebase? As of now my file is under <WT_HOME>/codebase/netmarket/jsp.

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum! ______________________________ Check out the Windchill Tips Board! We're talking about Whirlpool's use of digital twin, augmented reality, and data-driven design!

The NAVIGATE WORKING GROUP is here! Come innovate with PTC!

Sign up for a Working Group