com.xpn.xwiki.user.impl.exo
Class ExoAuthServiceImpl

java.lang.Object
  extended by com.xpn.xwiki.user.impl.xwiki.AbstractXWikiAuthService
      extended by com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
          extended by com.xpn.xwiki.user.impl.exo.ExoAuthServiceImpl
All Implemented Interfaces:
XWikiAuthService

public class ExoAuthServiceImpl
extends XWikiAuthServiceImpl


Field Summary
 
Fields inherited from class com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
authenticator
 
Constructor Summary
ExoAuthServiceImpl()
           
 
Method Summary
 java.security.Principal authenticate(java.lang.String username, java.lang.String password, XWikiContext context)
          
 XWikiUser checkAuth(java.lang.String username, java.lang.String password, java.lang.String rememberme, XWikiContext context)
          Method to authenticate and set the cookie from a username and password passed as parameters
 XWikiUser checkAuth(XWikiContext context)
           
 java.lang.String getExo_DN(java.lang.String susername, XWikiContext context)
           
protected  java.lang.String getParam(java.lang.String name, XWikiContext context)
           
protected  org.exoplatform.services.security.SecurityService getSecurityService()
           
 
Methods inherited from class com.xpn.xwiki.user.impl.xwiki.XWikiAuthServiceImpl
checkPassword, createUser, findUser, getAuthenticator, showLogin, stripContextPathFromURL
 
Methods inherited from class com.xpn.xwiki.user.impl.xwiki.AbstractXWikiAuthService
authenticateSuperAdmin, isSuperAdmin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoAuthServiceImpl

public ExoAuthServiceImpl()
Method Detail

getSecurityService

protected org.exoplatform.services.security.SecurityService getSecurityService()

checkAuth

public XWikiUser checkAuth(XWikiContext context)
                    throws XWikiException
Specified by:
checkAuth in interface XWikiAuthService
Overrides:
checkAuth in class XWikiAuthServiceImpl
Throws:
XWikiException

checkAuth

public XWikiUser checkAuth(java.lang.String username,
                           java.lang.String password,
                           java.lang.String rememberme,
                           XWikiContext context)
                    throws XWikiException
Description copied from class: XWikiAuthServiceImpl
Method to authenticate and set the cookie from a username and password passed as parameters

Specified by:
checkAuth in interface XWikiAuthService
Overrides:
checkAuth in class XWikiAuthServiceImpl
Parameters:
username - the user name for the user to authenticate
password - the password of the user to authenticate
context - the XWiki context object
Returns:
null if the user is not authenticated properly
Throws:
XWikiException - in case of authentication error

authenticate

public java.security.Principal authenticate(java.lang.String username,
                                            java.lang.String password,
                                            XWikiContext context)
                                     throws XWikiException
Description copied from class: XWikiAuthServiceImpl

Specified by:
authenticate in interface XWikiAuthService
Overrides:
authenticate in class XWikiAuthServiceImpl
Returns:
a null Principal Object if the user hasn't been authenticated or a valid Principal Object if the user is correctly authenticated
Throws:
XWikiException
See Also:
XWikiAuthService.authenticate(String,String,XWikiContext)

getExo_DN

public java.lang.String getExo_DN(java.lang.String susername,
                                  XWikiContext context)

getParam

protected java.lang.String getParam(java.lang.String name,
                                    XWikiContext context)
Overrides:
getParam in class XWikiAuthServiceImpl


Copyright © 2004-2008 XWiki. All Rights Reserved.