PHPackages                             niif/simplesamlphp-module-aa - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. niif/simplesamlphp-module-aa

ActiveSimplesamlphp-module[Authentication &amp; Authorization](/categories/authentication)

niif/simplesamlphp-module-aa
============================

Attribute Authority for simpleSAMLphp

v2.0.2(5y ago)21843[3 issues](https://github.com/NIIF/simplesamlphp-module-aa/issues)1PHP

Since Nov 12Pushed 5y ago4 watchersCompare

[ Source](https://github.com/NIIF/simplesamlphp-module-aa)[ Packagist](https://packagist.org/packages/niif/simplesamlphp-module-aa)[ RSS](/packages/niif-simplesamlphp-module-aa/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (10)Used By (1)

Attribute Authority for simpleSAMLphp
=====================================

[](#attribute-authority-for-simplesamlphp)

- Author: Gyula Szabó , NIIF Institute, Hungary

This module provides back-end SAML Attribute Authority functionality.

Install module
--------------

[](#install-module)

You can install the module with composer:

```
composer require niif/simplesamlphp-module-aa:2.*

```

Apache configuration
--------------------

[](#apache-configuration)

The following Apache configuration is required for the SimpleSAMLphp request path:

```
    SSLOptions +StdEnvVars +ExportCertData
    SSLVerifyClient optional_no_ca

```

Module configuration
--------------------

[](#module-configuration)

The module configuration example is in `config-templates/module-aa.php`. You can configure the response validity time, the defined authsource and the signing properties.

### Authentication Source

[](#authentication-source)

Because the principal can not be authenticated, there must be an authsource that populates the query subject in an attribute, that can be further processed by Authentication Processing Filters. It is implemented by a dummy authsource called `aa:Bypass`.

You can configure the field that will hold the query subject in `config/authsources.php` as the following:

```
   'default-aa' => array(
            'aa:Bypass',
            'uid' => 'subject_nameid',
    ),

```

### Authproc Filters

[](#authproc-filters)

In the `config/config.php` you can define an array named "authproc.aa", just like authproc.sp or authproc.idp. The NameID of the request will be in the attribute as defined above. For example, you can add attributes to the response with `attributecollector:AttributeCollector` or `ldap:AttributeAddFromLDAP`.

### Metadata

[](#metadata)

You should copy `metadata-templates/attributeauthority-hosted.php` to the `metadata` directory and customise it. The metadata is published at

```
/module.php/aa/metadata.php?output=xhtml

```

URL in the usual formats. The metadata contains the proper signing certificate.

This code has derived from the old [aa4ssp code](https://code.google.com/p/aa4ssp).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 92.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~318 days

Recently: every ~438 days

Total

8

Last Release

1979d ago

Major Versions

v1.0.4 → v2.0.02019-03-21

### Community

Maintainers

![](https://www.gravatar.com/avatar/dbd1543568948482a6229c1c07ddcc76c71254d0d5c63c024a967222857c33bd?d=identicon)[gyufi](/maintainers/gyufi)

![](https://www.gravatar.com/avatar/b8bab3c1b234f0732268e672b7acc23549b3819e445c2fddc7de385dbac40e4d?d=identicon)[kukkjanos](/maintainers/kukkjanos)

![](https://www.gravatar.com/avatar/58cf0b44aa083da212f27d6c89a3ba7b0716079d39f2d2d845d4997d61e93571?d=identicon)[northway](/maintainers/northway)

---

Top Contributors

[![szabogyula](https://avatars.githubusercontent.com/u/3406217?v=4)](https://github.com/szabogyula "szabogyula (63 commits)")[![bajnokk](https://avatars.githubusercontent.com/u/9942990?v=4)](https://github.com/bajnokk "bajnokk (5 commits)")

### Embed Badge

![Health badge](/badges/niif-simplesamlphp-module-aa/health.svg)

```
[![Health](https://phpackages.com/badges/niif-simplesamlphp-module-aa/health.svg)](https://phpackages.com/packages/niif-simplesamlphp-module-aa)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/simplesamlphp-module-oidc

A SimpleSAMLphp module adding support for the OpenID Connect protocol

5016.9k1](/packages/simplesamlphp-simplesamlphp-module-oidc)[drupalauth/simplesamlphp-module-drupalauth

A SimpleSAMLphp module adding support for Drupal as the authentication source.

25305.4k1](/packages/drupalauth-simplesamlphp-module-drupalauth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
