<
From version < 27.1 >
edited by Thomas Mortagne
on 2008/10/15
To version < 27.3 >
edited by Vincent Massol
on 2008/12/30
>
Change comment: Added links to interfaces

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.ThomasMortagne
1 +XWiki.VincentMassol
Content
... ... @@ -143,7 +143,7 @@
143 143  1.1 Custom Authentication
144 144  
145 145  This allows plugging to any existing authentication mechanism such as SiteMinder, etc. To configure a custom authentication do the following:
146 -# Implement the XWikiAuthService interface.
146 +# Implement the [XWikiAuthService>http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/api/XWikiAuthService.java] interface.
147 147  # Edit the ~~WEB-INF/xwiki.cfg~~ file and add a ~~xwiki.authentication.authclass~~ property pointing to your class. For example:
148 148  
149 149  {code}
... ... @@ -150,17 +150,19 @@
150 150  xwiki.authentication.authclass = com.acme.MyCustomAuthenticationService
151 151  {code}
152 152  
153 -Note, that you also can implement own right management service by implementing XWikiRightService interface:
153 +Here's a [tutorial on implementing a custom authentication class for authenticating against Oracle's SSO>http://bodez.wordpress.com/2008/10/15/xwiki-user-authentication-with-oracle-sso/].
154 +
155 +Note, that you also can implement own right management service by implementing [XWikiRightService>http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/api/XWikiRightService.java] interface:
154 154  {code}
155 155  xwiki.authentication.rightsclass = com.acme.MyCustomRightsService
156 156  {code}
157 157  
158 -and group service by implementing XWikiGroupService and setting ~~xwiki.authentication.groupclass~~ property.
160 +and Group Service by implementing [XWikiGroupService>http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-core/src/main/java/com/xpn/xwiki/user/api/XWikiGroupService.java]:
159 159  
162 +{code}
163 +xwiki.authentication.groupclass = com.acme.MyCustomGroupService
164 +{code}
160 160  
161 -
162 -
163 -
164 164  1.1 Authentication parameters
165 165  
166 166  You can set each of these parameters by setting:

Get Connected