By: Rhett Prichard user 02 Aug 2021 at 11:42 a.m. CDT

4 Responses
Rhett Prichard gravatar
I grabbed one from here. https://github.com/GluuFederation/oxTrust/blob/master/configuration/src/main/resources/META-INF/shibboleth3/idp/saml-nameid.xml.vm And when i load it into this location. /opt/gluu-server/opt/gluu/jetty/identity/conf/shibboleth3/idp/saml-nameid.xml.vm and reboot the server, it stops all of my email nameid's from showing up at all, even when the rest of the attributes show up ok. I am assuming i have a bad version for my server and would like to pull the files out of the WAR file that is on my server. Could anyone direct me to the location i can unzip these out of?

By Aliaksandr Samuseu staff 17 Aug 2021 at 1:04 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Rhett. Apparently, there was an inssue with notifications about new tickets, so some of them were missed. Let us know if you still need help with this one.

By Rhett Prichard user 18 Aug 2021 at 12:44 p.m. CDT

Rhett Prichard gravatar
Yes please, i would still like to know where the WAR is that contains the xml.vm files for attributes-filter and attributes-resolver.

By Aliaksandr Samuseu staff 18 Aug 2021 at 4:49 p.m. CDT

Aliaksandr Samuseu gravatar
Hi, Rhett. The template you need is packed inside `/opt/gluu/jetty/identity/webapps/identity.war` It will be easier to just extract it from the exploded WAR inside `/opt/jetty-9.4/temp` dir when "identity" service is running. Here is example (note that path in your container will be different due to it having a dynamically generated component in it; you'll need to find out it on your own): ``` # jar -xf /opt/jetty-9.4/temp/jetty-localhost-8082-identity_war-_identity-any-16630717722781302559/webapp/WEB-INF/lib/oxtrust-configuration-4.2.3.Final.jar META-INF/shibboleth3/idp/saml-nameid.xml.vm ``` The command above will create `META-INF/shibboleth3/idp/` dir structure inside your working directory, and will extract `saml-nameid.xml.vm` template in there. You can see other templates inside this JAR like this: ``` jar -tf /opt/jetty-9.4/temp/jetty-localhost-8082-identity_war-_identity-any-16630717722781302559/webapp/WEB-INF/lib/oxtrust-configuration-4.2.3.Final.jar | grep -i .vm | grep -e '\.vm' ``` After you'll deploy this file under `/opt/gluu/jetty/identity/conf/shibboleth3/idp`, make sure it's readable for "jetty" user (file permissions). Hope this helps.

By Rhett Prichard user 19 Aug 2021 at 10:31 p.m. CDT

Rhett Prichard gravatar
Thank you very much for the complete answer.