Hallo xwiki-users,
i have a webapplication from which i direct users to XWIKI through a link.
The idea i have now is using basic Authentication:
http://
username:password@mywiki.xwiki.com/xwiki/bin/view/Main/WebHome?basicauth=1
The problem here is i am using username:OID in the url above.
I will like to customize the basic authentication such that i can use the
OID to get userpassword from a database. Register the user in xwiki if it's
the first time getting to xwiki and login if user already exist.
The two apps are running in tomcat and on debian OS.
I tried to write a java class(with eclipse on windows) extending the
XWikiAuthServiceImpl class. Eclipse did not recognise the packages.Could i
get the packages from somewhere? Is there a way to test an implementation?
I archived the Java file to a jar and added it to WEB_INF/lib, But xwiki
did not work. The jar file i added was not a proper jar file and caused
everytthing to stop functioning.
Thanks in advance for your help.
--
Ebanja Daniel
Informatikstudent der Hochschule Darmstadt
Deutschland