-
Notifications
You must be signed in to change notification settings - Fork 19
CAS Login
For the installation, you have to install the plg_system_caslogin
package.
You have to enable the plugin and to create an external login server using it.
The window is divided in 2 panels, the Server details
is common to all
the external login plugins and the other panel contains the parameters
specific to the CAS Plugin
.
-
Use SSL
Use or not a secured connection -
URL
TheCAS
server URL (cas.univ-montp2.fr
for instance). -
Path
TheCAS
server path (cas
for instance). -
Port
TheCAS
server port (443
for instance). -
Use locale
Use the locale parameter.
This slider contains xpath
parameters to get the user attributes.
-
Username xpath
The usernamexpath
in theCAS
response.string(cas:user)
for instance or
concat( cas:attributes/cas:attribute[@name='uid'], substring( cas:attributes/cas:attribute[@name = 'edupersonprincipalname'], 1 div not(cas:attributes/cas:attribute[@name = 'uid']) ), substring( cas:user, 1 div not(cas:attributes/cas:attribute[ @name = 'uid' or @name = 'edupersonprincipalname' ]) ) )
-
Full name xpath
The full namexpath
in theCAS
response.string(cas:user)
for instance or
concat( cas:attributes/cas:attribute[@name = 'displayname'], substring( cas:attributes/cas:attribute[@name='edupersonprincipalname'], 1 div not(cas:attributes/cas:attribute[@name = 'displayname']) ), substring( cas:attributes/cas:attribute[@name = 'uid'], 1 div not(cas:attributes/cas:attribute[ @name = 'displayname' or @name = 'edupersonprincipalname' ]) ), substring( cas:user, 1 div not(cas:attributes/cas:attribute[ @name = 'displayname' or @name = 'edupersonprincipalname' or @name = 'uid' ]) ) )
-
Email xpath
The emailxpath
in theCAS
response.concat( cas:user, substring('@univ-montp2.fr', 1 div not(contains(cas:user, '@'))) )
for instance or
concat( cas:attributes/cas:attribute[@name = 'mail'], substring( cas:user, 1 div not(cas:attributes/cas:attribute[@name = 'mail']) ) )
-
Groups xpath
The groupsxpath
in theCAS
response.cas:attributes/cas:attribute[@name = 'supannaffectation']
for instance
-
Integer groups
To consider integer groups as their Joomla! identifier. -
Group separator
The string that separates groups.
-
Automatic login
To automatically log in a user when he is already logged in on the CAS server. -
Automatic logout
To automatically log out a user on the CAS server when he logs out on the Joomla! site. -
Logout URL
The logout URL transmitted to the CAS server. -
Timeout
The timeout server -
Certificate file
The file path holding one or more certificates to verify the peer with. -
Certificate path
The directory path holding multiple CA certificates.