Skip to content
Snippets Groups Projects
Commit 19090083 authored by Jacob Christiansen's avatar Jacob Christiansen
Browse files

Updated documentation for consent and consentAdmin modules.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@1979 44740490-163a-0410-bde0-09ae8108e29a
parent a2060630
No related branches found
No related tags found
No related merge requests found
...@@ -73,3 +73,19 @@ Example config using PostgreSQL database: ...@@ -73,3 +73,19 @@ Example config using PostgreSQL database:
'checked' => TRUE 'checked' => TRUE
), ),
Disabling consent
-----------------
It is possible to disable consent for a given service. You can add an option
in the matadata og the IdP, that wil disable consent for det given service.
Add 'consent.disable' array option and enter the entityids of the services,
that you do not want consent for.
Example:
'consent.disable' => array(
'sp.example.com',
'sp2.example.com',
...
),
...@@ -46,7 +46,7 @@ module correctly, you need to set the configuration 'attributes.hash' ...@@ -46,7 +46,7 @@ module correctly, you need to set the configuration 'attributes.hash'
according to the value of 'includeValues' configuration in the consent according to the value of 'includeValues' configuration in the consent
module. module.
You should also set the 'relaystate' configuration in order to pass on your You should also set the 'returnURL' configuration in order to pass on your
users when the press the 'Logout' link. users when the press the 'Logout' link.
What does consentAdmin do What does consentAdmin do
...@@ -59,6 +59,8 @@ whether the user has given consent to the given service. By clicking the ...@@ -59,6 +59,8 @@ whether the user has given consent to the given service. By clicking the
released to the service, when the user is accessing that service. released to the service, when the user is accessing that service.
consentAdmin are running the processing filters that have been defined for consentAdmin are running the processing filters that have been defined for
each service. each service.
ConsentAdmin will not show services that consent has been disabled for in
the consent module.
Processing filters Processing filters
------------------ ------------------
...@@ -68,6 +70,6 @@ no filter is allowed to make userinteraction. ...@@ -68,6 +70,6 @@ no filter is allowed to make userinteraction.
It is up to the developers of the filters to respect the isPassive request. It is up to the developers of the filters to respect the isPassive request.
The prefered thing to do is to make your setup so that only filters that The prefered thing to do is to make your setup so that only filters that
modify attributes is run. Othervise it is recommended that tha developers of modify attributes is run. Othervise it is recommended that developers of
filters to throw a 'NoPassive' exception, if the filter can not run without filters to throw a 'NoPassive' exception, if the filter can not run without
userinteraction. userinteraction.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment