I logged this here:
https://issues.jasig.org/browse/CASC-239

I'll send a pull request soon.

On Wed, Jan 21, 2015 at 7:58 AM, Scott Battaglia <scott.battag...@gmail.com>
wrote:

> Oh I just realized our constructor there is "private" which is most
> likely a typo and causing the problem.  I'll have to double check as its
> unclear why that would be private other than a dumb mistake.
>
> On Tue, Jan 20, 2015 at 4:25 PM, Marvin Addison <marvin.addi...@gmail.com>
> wrote:
>
>> It you have the complete stack trace that would be great.
>>>
>>
>> Unfortunately there's no much more than what I shared previously:
>>
>> Jan 17, 2015 9:34:14 AM org.apache.catalina.core.StandardContext
>> filterStart
>> SEVERE: Exception starting filter CAS Authentication Filter
>> java.lang.IllegalAccessException: Class
>> org.apache.catalina.core.DefaultInstanceManager can not access a member of
>> class org.jasig.cas.client.authentication.Saml11AuthenticationFilter with
>> modifiers "private"
>>         at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
>>         at java.lang.Class.newInstance0(Class.java:349)
>>         at java.lang.Class.newInstance(Class.java:308)
>>         at
>> org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:134)
>>         at
>> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:256)
>>         at
>> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:382)
>>         at
>> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:103)
>>         at
>> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4650)
>>         at
>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5306)
>>         at
>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
>>         at
>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
>>         at
>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
>>         at
>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:618)
>>         at
>> org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:650)
>>         at
>> org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1582)
>>         at
>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
>>         at
>> java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>>         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
>>         at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
>>         at java.lang.Thread.run(Thread.java:662)
>> Jan 17, 2015 9:34:14 AM org.apache.catalina.core.StandardContext
>> startInternal
>> SEVERE: Error filterStart
>>
>> So we don't have much to go on beyond the top-level
>> IllegalAccessException. Judging from the error text, though, it seems
>> conceivable that the following change could be responsible:
>>
>> marvin@eiger:~/Code/java-cas-client$ git diff 25e2b6..f65d22
>> cas-client-core/src/main/java/org/jasig/cas/client/authentication/Saml11AuthenticationFilter.java
>> diff --git
>> a/cas-client-core/src/main/java/org/jasig/cas/client/authentication/S
>> index 6c853ec..8a7ddae 100644
>> ---
>> a/cas-client-core/src/main/java/org/jasig/cas/client/authentication/Saml11Au
>> +++
>> b/cas-client-core/src/main/java/org/jasig/cas/client/authentication/Saml11Au
>> @@ -18,13 +18,12 @@
>>   */
>>  package org.jasig.cas.client.authentication;
>>
>> -import javax.servlet.FilterConfig;
>> -import javax.servlet.ServletException;
>> +import org.jasig.cas.client.Protocol;
>>
>>  /**
>>   * Extension to the default Authentication filter that sets the required
>> SAML1.
>>   * <p>
>> - * Note, as of 3.3, the final keyword was removed to allow you to
>> override the
>> + * Note, as of 3.3, the final keyword was removed to allow you to
>> override the
>>   *
>>   * @author Scott Battaglia
>>   * @since 3.1.12
>> @@ -32,13 +31,7 @@ import javax.servlet.ServletException;
>>   */
>>  public class Saml11AuthenticationFilter extends AuthenticationFilter {
>>
>> -    protected final void initInternal(final FilterConfig filterConfig)
>> throws S
>> -        super.initInternal(filterConfig);
>> -
>> -        logger.warn("SAML1.1 compliance requires the
>> [artifactParameterName] an
>> -        logger.warn("This filter will overwrite any user-provided values
>> (if an
>> -
>> -        setArtifactParameterName("SAMLart");
>> -        setServiceParameterName("TARGET");
>> +    private Saml11AuthenticationFilter() {
>> +        super(Protocol.SAML11);
>>      }
>>  }
>>
>> M
>>
>> --
>> You are currently subscribed to cas-dev@lists.jasig.org as: 
>> scott.battag...@gmail.com
>> To unsubscribe, change settings or access archives, see 
>> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>>
>>
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to