Hi, On Mon, Dec 9, 2013 at 5:34 PM, Jukka Zitting <[email protected]> wrote: > ...Assuming a working JAAS setup, you can configure a custom "optional" > LoginModule that adds extra principals to the current subject based on > whatever criteria you want (source IP, HTTP header, phase of the moon, > etc.)....
Ok, thanks! "phase of the moon", as in "any arbitrary external value" is indeed the kind of use case we're looking at. This looks like another reason to use the Felix Jaas stuff [1] which is good as this will be useful for Sling as well. -Bertrand [1] http://felix.apache.org/documentation/subprojects/apache-felix-jaas.html
