UpperCAse/LoweCase
Argenis Lopez
alopez at fcci-group.com
Thu Jul 23 10:41:44 EDT 2015
V2.4, jdk 1.8
I had change to jdk 1.7 and got it to work (with the proper java script package define for the version)
<resolver:AttributeDefinition id="forkronos" xsi:type="Script"
xmlns="urn:mace:shibboleth:2.0:resolver:ad" dependencyOnly="true">
<resolver:Dependency ref="mail" />
<Script>
<![CDATA[
importPackage(Packages.edu.internet2.middleware.shibboleth.common.attribute.provider);
forkronos = new BasicAttribute("forkronos");
forkronos.getValues().add(mail.getValues().get(0).toLowerCase());
]]>
</Script>
</resolver:AttributeDefinition>
<resolver:AttributeDefinition xsi:type="ad:Simple" id="scripted" sourceAttributeID="forkronos">
<resolver:Dependency ref="forkronos" />
<resolver:AttributeEncoder xsi:type="enc:SAML1StringNameIdentifier" nameFormat="urn:mace:shibboleth:1.0:nameIdentifier"/>
<resolver:AttributeEncoder xsi:type="enc:SAML2StringNameID" nameFormat="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"/>
<resolver:AttributeEncoder xsi:type="enc:SAML2StringNameID" nameFormat="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"/>
</resolver:AttributeDefinition>.
Argenis López, MEM
Senior Solution Architect
FCCI Insurance Group
6300 University Parkway
Sarasota, FL 34240
(787) 402-8448 - Cell
(941) 907-7518 - Direct
(800) 226-3224, ext 7518
-----Original Message-----
From: users [mailto:users-bounces at shibboleth.net] On Behalf Of Rod Widdowson
Sent: Thursday, July 23, 2015 9:43 AM
To: 'Shib Users'
Subject: RE: UpperCAse/LoweCase
> He did both:
That's what I get for answering in a hurry...
In that case you'll need to go into the logs in detail. As a quick question
V2 or V3? I can see that you are using Java 8.
/R
--
To unsubscribe from this list send an email to users-unsubscribe at shibboleth.net
FCCI Insurance Group
More than a policy. A promise.®
www.fcci-group.com<http://www.fcci-group.com>
FCCI Insurance Group companies: Brierfield Insurance Company, FCCI Advantage Insurance Company, FCCI Commercial Insurance Company, FCCI Insurance Company, Monroe Guaranty Insurance Company, and National Trust Insurance Company.
This communication, along with any documents, files or attachments, is intended only for the use of the addressee and may contain legally privileged and confidential information. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of any information contained in or attached to this communication is strictly prohibited. If you have received this message in error, please notify the sender immediately and destroy the original communication and its attachments without reading, printing or saving in any manner.
More information about the users
mailing list