<span style=" font-size:12pt;font-family:Arial">Hello shibboleth developers,</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">we are trying to wire
up the field p:reuseCondition-ref with our custom code. What we have tried
is the following:</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">Custom logic we want
to use:</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">package org.package;<br>
import java.util.function.Predicate;<br>
import org.opensaml.profile.context.ProfileRequestContext;</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">public class StpUtil
{<br>
        public Predicate<ProfileRequestContext>
checkIfReactivationFunction() {<br>
                return
(ProfileRequestContext profileContext)-> {<br>
                
       System.out.println();<br>
                
       return true;        <br>
                }<br>
        }</span>
<br><span style=" font-size:12pt;font-family:Arial">}</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">In idp.properties we
have the following value: idp.authn.StpAuth.reuseCondition=org.package.StpUtil</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial"><br>
authn-system.xml:</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial"><bean p:id="authn/StpAuth"
parent="shibboleth.AuthenticationFlow"<br>
...<br>
        p:reuseCondition-ref="%{idp.authn.StpAuth.reuseCondition%:}'.checkIfReactivationFunction())}"<br>
...<br>
        <property name="supportedPrincipalsByString"><br>
                <bean
parent="shibboleth.CommaDelimStringArray"<br>
                
       c:_0="#{'%{idp.authn.StpAuth.supportedPrincipals:}'.trim()}"
/><br>
        </property><br>
</bean></span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">We are reciving following
error:</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">JNDI lookup for name
[spring.liveBeansView.mbeanDomain] threw NamingException with message:
Name [spring.liveBeansView.mbeanDomain] is not bound in this Context. Unable
to find [spring.liveBeansView.mbeanDomain].. Returning null.</span>
<br>
<br><span style=" font-size:12pt;font-family:Arial">Can you provide us
an idea where we went wrong with our configuration? Thank you in advance.</span>
<br><span style=" font-size:12pt;font-family:Arial"><br>
Freundliche Grüße <b><br>
Ing. Marko VRACAR </b></span>
<br><span style=" font-size:12pt;font-family:Arial">Systems Engineering
und Projekt Management <br>
PROGRAMMIERFABRIK GmbH <br>
4020 Linz, Goethestraße 84 </span><span style=" font-size:12pt;color:blue;font-family:Arial"><u><br>
</u></span><a href="tel:+43 732 601000 69185"><span style=" font-size:12pt;color:blue;font-family:Arial"><u>Tel:
+43 732 601000 69185</u></span></a><span style=" font-size:12pt;font-family:Arial">
<br>
Fax: +43 732 601000 69111 </span><span style=" font-size:12pt;color:blue;font-family:Arial"><u><br>
</u></span><a href=mailto:marko.vracar@programmierfabrik.at><span style=" font-size:12pt;color:blue;font-family:Arial"><u>mailto:marko.vracar@programmierfabrik.at</u></span></a><span style=" font-size:12pt;color:blue;font-family:Arial"><u><br>
</u></span><a href=http://www.programmierfabrik.at/><span style=" font-size:12pt;color:blue;font-family:Arial"><u>http://www.programmierfabrik.at</u></span></a><span style=" font-size:8pt;font-family:Arial"><br>
PROGRAMMIERFABRIK GmbH, 4232 Hagenberg im Mühlkreis, Softwarepark 21,
FN 162454d, Landesgericht Linz </span><span style=" font-size:12pt;font-family:Arial"><br>
<br>
</span>
<br>
<br>
<font size="2">Der Austausch von Nachrichten mit o.a. Absender via e-mail dient ausschließlich Informationszwecken. Rechtsgeschäftliche Erklärungen dürfen über dieses Medium nicht ausgetauscht werden.</font><br>
<br>
<font size="2">Correspondence with a.m. sender via e-mail is only for information purposes. This medium is not to be used for the exchange of legally-binding communications.</font><br>