You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Roberto Venturi <Ro...@Mercurio.It> on 2012/08/07 17:26:20 UTC
New and clean JSPWiki with old & dusty proprietary authenticator
Hi everybody,
suppose you have a custom, proprietary, not standard, old & dusty
authentication engine (it's really so).
Suppose that all users call a standard page to enter into JSPWiki
(rovenLoginPage.jsp as an example)
After some handshake with the "old & dusty auth. manager", the
rovenLoginPage.jsp knows everything about the caller (user name, id,
groups, shoes's number, eye's color, etc..) but here is the question:
how can it force theese authenticated values into wiki engine (shoes's
number is not important, really :-) )?
If you want not suppose so much . . . :-) :-)
I need a page who, when called, set "Mickey Mouse" as wiki user and
assign him to group "mouses".
Thanks again,
Roberto
--
Messaggio inviato da WebMail - http://www.mercurio.it
-------------------------------------------------------
Re: New and clean JSPWiki with old & dusty proprietary
authenticator
Posted by Florian Holeczek <fl...@holeczek.de>.
If there was already a web container authentication available for that old thing, you could also switch JSPWiki to web container authentication.
Regards
Florian
----- Ursprüngliche Mail -----
Von: "Florian Holeczek" <fl...@holeczek.de>
An: jspwiki-dev@incubator.apache.org
Gesendet: Freitag, 10. August 2012 08:58:13
Betreff: Re: New and clean JSPWiki with old & dusty proprietary authenticator
Hi Roberto,
AFAIK you have to implement a JAAS LoginModule, see org.apache.wiki.auth.login.AbstractLoginModule (see the rest of this package for examples).
Also see doc/aaa-diagram.pdf for a bigger picture.
Regards
Florian
----- Ursprüngliche Mail -----
Von: "Roberto Venturi" <Ro...@Mercurio.It>
An: jspwiki-dev@incubator.apache.org
Gesendet: Dienstag, 7. August 2012 17:26:20
Betreff: New and clean JSPWiki with old & dusty proprietary authenticator
Hi everybody,
suppose you have a custom, proprietary, not standard, old & dusty
authentication engine (it's really so).
Suppose that all users call a standard page to enter into JSPWiki
(rovenLoginPage.jsp as an example)
After some handshake with the "old & dusty auth. manager", the
rovenLoginPage.jsp knows everything about the caller (user name, id,
groups, shoes's number, eye's color, etc..) but here is the question:
how can it force theese authenticated values into wiki engine (shoes's
number is not important, really :-) )?
If you want not suppose so much . . . :-) :-)
I need a page who, when called, set "Mickey Mouse" as wiki user and
assign him to group "mouses".
Thanks again,
Roberto
--
Messaggio inviato da WebMail - http://www.mercurio.it
-------------------------------------------------------
Re: New and clean JSPWiki with old & dusty proprietary
authenticator
Posted by Florian Holeczek <fl...@holeczek.de>.
Hi Roberto,
AFAIK you have to implement a JAAS LoginModule, see org.apache.wiki.auth.login.AbstractLoginModule (see the rest of this package for examples).
Also see doc/aaa-diagram.pdf for a bigger picture.
Regards
Florian
----- Ursprüngliche Mail -----
Von: "Roberto Venturi" <Ro...@Mercurio.It>
An: jspwiki-dev@incubator.apache.org
Gesendet: Dienstag, 7. August 2012 17:26:20
Betreff: New and clean JSPWiki with old & dusty proprietary authenticator
Hi everybody,
suppose you have a custom, proprietary, not standard, old & dusty
authentication engine (it's really so).
Suppose that all users call a standard page to enter into JSPWiki
(rovenLoginPage.jsp as an example)
After some handshake with the "old & dusty auth. manager", the
rovenLoginPage.jsp knows everything about the caller (user name, id,
groups, shoes's number, eye's color, etc..) but here is the question:
how can it force theese authenticated values into wiki engine (shoes's
number is not important, really :-) )?
If you want not suppose so much . . . :-) :-)
I need a page who, when called, set "Mickey Mouse" as wiki user and
assign him to group "mouses".
Thanks again,
Roberto
--
Messaggio inviato da WebMail - http://www.mercurio.it
-------------------------------------------------------