Has anything changed between 3.1 and 3.5 in terms of configuring the
Security interceptor? I had everything working fine in 3.1 but I'm
trying to test out 3.5 and getting an error (running on latest BER
Railo). I put the stack trace at the bottom of this message.
My config looks like so:
interceptors = [
//SES
{ class="interceptors.SES" },
// security
{ class="coldbox.system.interceptors.Security",
properties={ rulesSource="xml", rulesFile="config/
securityrules.xml.cfm", debugMode="false",
validatorModel="Security" } }
];
And I have a model/Security.cfc which does in fact have a
userValidator() method. Is there anything in config/
securityrules.xml.cfm that needs to be updated?
Looking forward to trying out the great new stuff in 3.5! Great work
as always folks.
component [coldbox.system.interceptors.Security] has no function with
name [userValidator]
at
railo.runtime.type.util.ComponentUtil.notFunction(ComponentUtil.java:
563):563
at railo.runtime.ComponentImpl.onMissingMethod(ComponentImpl.java:
541):541
at railo.runtime.ComponentImpl._call(ComponentImpl.java:504):504
at railo.runtime.ComponentImpl.call(ComponentImpl.java:1815):1815
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
733):733
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1441):1441
at system.interceptors.security_cfc$cf._1(/var/www/sites/
coldbox.platform/3.5.0/system/interceptors/Security.cfc:266):266
at system.interceptors.security_cfc$cf.udfCall(/var/www/sites/
coldbox.platform/3.5.0/system/interceptors/Security.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215
at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434
at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
738):738
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1441):1441
at system.interceptors.security_cfc$cf._1(/var/www/sites/
coldbox.platform/3.5.0/system/interceptors/Security.cfc:193):193
at system.interceptors.security_cfc$cf.udfCall(/var/www/sites/
coldbox.platform/3.5.0/system/interceptors/Security.cfc):-1
at railo.runtime.type.UDFImpl.implementation(UDFImpl.java:215):215
at railo.runtime.type.UDFImpl._call(UDFImpl.java:434):434
at railo.runtime.type.UDFImpl.call(UDFImpl.java:384):384
at
railo.runtime.util.VariableUtilImpl.callFunctionWithoutNamedValues(VariableUtilImpl.java:
738):738
at railo.runtime.PageContextImpl.getFunction(PageContextImpl.java:
1441):1441
at system.interceptors.security_cfc$cf._1(/var/www/sites/
coldbox.platform/3.5.0/system/interceptors/Security.cfc:149):149
at system.interceptors.security_cfc$cf.udfCall(/var/www/sites/
coldbox.platform/3.5.0/system/interceptors/Security.cfc):-1
.....