ShARPE Advanced Configuration
- multiple GroupLookups are possible
- implementation of GroupLookup has to implements au.edu.mq.melcoe.mams.sharpe.shib.aa.arp.group.GroupLookup interface
- refer to GroupLookup page for sample of configuration
AttributeResolverGroupLookup?
- usage of MAMSAttributeResolver? is optional in the <ResolverConfig>. if the implementation attribute is not specified then the original Shibboleth's AttributeResolver? implementation is used. MAMSAttributeResolver? is a slight modified version of AttributeResolver? capable of reloading the resolver configuration on runtime upon detection of changes to the configuration.
- resolver configuration file location could be different from the main configuration used. This instance of resolver engine only cares about the specified attributes as required by UserGroup and GroupListing
PropertyFileGroupLookup?
- %PRINCIPAL% can be used in the "separator" attribute for this GroupLookup. It will be replaced with the runtime value of the logged in user
CompositeGroupLookup?
- multiple GroupLookups can be placed here
- it has the format of:
<GroupLookup implementation="au.edu.mq.melcoe.mams.sharpe.shib.aa.arp.group.provider.CompositeGroupLookup">
<GroupLookup implementation="...">
...
</GroupLookup>
<GroupLookup implementation="...">
...
</GroupLookup>
</GroupLookup>
Utilizing Hash Crosswalk (Mapping)
ShARPE provides
HashCrosswalk? function that can be used directly to produce a hash of whatever input given to it. This is particularly useful when admin would like to produce some sort of unidentifiable data from those identifiable. In particular, this can be used to generate eduPersonTargetedID for example by hashing a random seed coupled with user's email and the requesting SP name.
Consider the following example:
The above dictates
ShARPE to produce an ePTID by hashing (SHA1) a seed, user's email, and SP's name.
Refer to
Generation of ePTID using ShARPE for more details on its usage.
- specifying PolicyFilter in ArpRepository? will filter ALL policies before it is being used by Shibboleth, hence be very careful on what to filter
Resources
- Discuss everything on ShARPE Mailing List
--
BrucLiong - 24 Apr 2006
to top