Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There are several reasons why a SP could needs need more attributes than provided in the Entity Categories provided

  • The SP don't live up to the demands for a specific Entity Category but need the attributes to work
  • The SP works with the provided attributes from the Entity Category but will 'look better' with added attributes
  • The SP has incorrect metadata in the feed and needs other attributes than provided from the Entity Category
  • The SP don't have any Entity Category but needs need more attributes than transient-id
  • The SP is local for the institution so the attribute release can be done more freely 

...

The TransformRules Hashtable is provided in the top of the script and that Hashtable is returned in the end. It looks like this:

# Hashtable that we will return at the end of the function
$IssuanceTransformRuleManualSP = @{}
.
[manual releases]
.
$IssuanceTransformRuleManualSP

If you want to add a manual release we recommend you add the following code (where the manual releases is above):

### Description of the SP
        $TransformRules = [Ordered]@{}
        $TransformRules.[TransformRule Object] = $AllTransformRules.[TransformRule Object]
               
        $IssuanceTransformRuleManualSP["[EntityID for the SP"] = $TransformRules
###

...

To see how the TransformRule Objects are build up, look at the Import-ADFSTkAllTransformRules.ps1 in the /private folder of the module.

Known SP's that

...

need fixes

General

There are some SP's that we know needs attention to be able to work. Before you add any of them, please make sure they don't work as-is.

The PowerShell code provided for each SP should be copied to the get-ADFSTkManualSPSettings.ps1 script in the /config folder.  Please note the additional steps might also be needed.

Terena

    ### Terena.org/sp
        $TransformRules = [Ordered]@{}
        $TransformRules.'transient-id' = $AllTransformRules.'transient-id'
        $TransformRules.eduPersonTargetedID = $AllTransformRules.eduPersonTargetedID
        $TransformRules.eduPersonPrincipalName = $AllTransformRules.eduPersonPrincipalName
        $TransformRules.mail = $AllTransformRules.mail
        $TransformRules.displayName = $AllTransformRules.displayName
        $TransformRules.givenName = $AllTransformRules.givenName
        $TransformRules.sn = $AllTransformRules.sn
        $TransformRules.eduPersonScopedAffiliation = $AllTransformRules.eduPersonScopedAffiliation
        $IssuanceTransformRuleManualSP["https://terena.org/sp"] = $TransformRules
    ###

...