utexas/utexas_saml_auth_helper
最新稳定版本:3.6.3
Composer 安装命令:
composer require utexas/utexas_saml_auth_helper
包简介
This is a Drupal module that provides UTexas-focused UI tweaks to the contributed samlauth module.
关键字:
README 文档
README
This is a Drupal module that provides UTexas-focused UI tweaks to the contributed samlauth module.
End-user documentation can be found at https://drupalkit.its.utexas.edu/docs/
List of behaviors
- Declares a dependency on the samlauth module, causing that module and its dependency
externalauthto be enabled when this module is enabled. - Includes configuration defaults for:
utexas_saml_auth_helper_iid_domain: eid.utexas.edumail_body-- The rewritten "account created" email bodymail_subject-- The rewritten "account created" email subject
- Set user account creation password form element to #access=FALSE and #required=FALSE.
- Disable editing the username for already-created accounts.
- Set email form element to #disabled=TRUE and #required=FALSE.
- Add custom validation that will:
- Confirm the name entered is a valid EID
- The regex expression from the Drupal 7 module should be reused for this.
- Set email to EID + "@" +
utexas_saml_auth_helper_iid_domainconfiguration setting.
- Confirm the name entered is a valid EID
- Set required configuration for OneLogin library and disable editing of form fields
- Define a drush command for converting all eligible users to SAML login. With the switch from
simplesamlphp_authtosamlauth, this is effectively outdated, assamlauthwill automatically convert eligible user accounts that already exist in the system. - If the
samlauthmodule is enabled, redirect the legacy simplesamlphp_auth/saml_loginpath to/saml/login
Configuring SAML user roles
The module samlauth includes a sub-module, samlauth_user_roles for assigning Drupal roles to users based on affiliations provided by the Identity Provider (IdP).
This form is located at admin/config/people/saml/user-roles
- For "SAML Attribute", enter
urn:mace:dir:attribute-def:utexasEduPersonAffiliation - For "Separator", enter
| - For value conversions, enter in the following format. To automatically grant the
Content Editorrole to users with thestaff-currentaffiliation, enterstaff-current|Content editor. A complete converion example fromsimplesamlphp_authtosamlauthforpharmacy-intranetis shown below:
simplesamlphp_auth syntax
faculty_staff:urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,faculty-future;urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,faculty-current;urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,staff-future;urn:mace:dir:attribute-def:utexasEduPersonAffiliation,=,staff-current
samlauth syntax
faculty-future|Faculty/Staff
faculty-current|Faculty/Staff
staff-future|Faculty/Staff
staff-current|Faculty/Staff
统计信息
- 总下载量: 168.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-03-17