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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

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

sujha
1-Visitor

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
Cliff
23-Emerald III
(To:sujha)

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.

sujha
1-Visitor
(To:Cliff)

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

jessh
12-Amethyst
(To:sujha)

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.

Announcements


Top Tags