Authentification using an external tool

"Ektor Ektor" <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Hello,

I want to use Slide with my existing authentication
mecanism. This mecanism verify login/password against my own repository and
store login info into the HttpRequest.
Via a filter and the JAAS API I succeed to retrieve a Principal instance
but how can I send it to the rest of the slide servlet ?
I saw that most of the work is done in :
org.apache.slide.webdav.util.WebdavUtils->getSlideToken ()

But this methods retrieve the principal from the request (
req.getUserPrincipal()) and if the principal is not set the CredentialsToken
is built without Principal and authentification fails.

Thanks for your help.

     Ektor.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.