attribute resolver question
Sean Singh
sean.singh at rochester.edu
Tue Jul 18 17:03:37 EDT 2017
I'm trying to have users authenticate using a username and password but do
attribute resolution with an employeeNumber. In a previous email you
pointed me to the c14n canonicalization process.
I'm trying to learn how that process works. As part of that learning process
I was trying to follow the example in the documentation.
Through some troubleshooting I can see the subject is being populated.
The error appears to be in the line
var princs =
subject.getPrincipals(Java.type("net.shibboleth.idp.authn.principal.UsernamePrincipal").class);
If I modify that line and hard-code the "princs" to a known-good value I can
get the process to proceed.
I'm not a Java programmer but what I've found leads me to believe that
"Java.type" is a Nashorn/Java 8 thing. I'm using Java 7... which is listed
as supported.
So I'm trying to figure out how to emulate that functionality to get this
example to work.
Thanks
-Sean
--
View this message in context: http://shibboleth.1660669.n2.nabble.com/attribute-resolver-question-tp7634351p7634416.html
Sent from the Shibboleth - Users mailing list archive at Nabble.com.
More information about the users
mailing list