Class AuthenticationCAS
- java.lang.Object
-
- org.silverpeas.core.security.authentication.Authentication
-
- org.silverpeas.core.security.authentication.AuthenticationSQL
-
- org.silverpeas.core.security.authentication.AuthenticationCAS
-
public class AuthenticationCAS extends AuthenticationSQL
-
-
Field Summary
-
Fields inherited from class org.silverpeas.core.security.authentication.AuthenticationSQL
dataSourceJndiName, loginColumnName, passwordAvailableColumnName, passwordColumnName, userTableName
-
Fields inherited from class org.silverpeas.core.security.authentication.Authentication
enabled, PASSWORD_CHANGE_ALLOWED, PASSWORD_IS_ABOUT_TO_EXPIRE
-
-
Constructor Summary
Constructors Constructor Description AuthenticationCAS()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doAuthentication(AuthenticationConnection connection, AuthenticationCredential credential)
Does the authentication by using the specified connection with the remote server and with with the specified user credential.void
loadProperties(SettingBundle settings)
Loads the specified properties to set the communication information with the authentication service.-
Methods inherited from class org.silverpeas.core.security.authentication.AuthenticationSQL
closeConnection, doChangePassword, doResetPassword, getSQLConnection, openConnection
-
Methods inherited from class org.silverpeas.core.security.authentication.Authentication
authenticate, changePassword, getServerName, init, isEnabled, resetPassword
-
-
-
-
Method Detail
-
loadProperties
public void loadProperties(SettingBundle settings)
Description copied from class:Authentication
Loads the specified properties to set the communication information with the authentication service.- Overrides:
loadProperties
in classAuthenticationSQL
- Parameters:
settings
- the communication settings.
-
doAuthentication
protected void doAuthentication(AuthenticationConnection connection, AuthenticationCredential credential) throws AuthenticationException
Description copied from class:Authentication
Does the authentication by using the specified connection with the remote server and with with the specified user credential.- Overrides:
doAuthentication
in classAuthenticationSQL
- Parameters:
connection
- the connection with a remote authentication server.credential
- the credential to use to authenticate the user.- Throws:
AuthenticationException
- if an error occurs while authenticating the user.
-
-