shibboleth-dev - RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config
Subject: Shibboleth Developers
List archive
- From: "Kevin P. Foote" <>
- To: "" <>
- Subject: RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config
- Date: Mon, 16 Aug 2010 08:19:51 -0400 (EDT)
Datta ..
Here is my additional-boot-jar-classes section and my
instrumented-classes section from my tc-config on 2.2.0-SNAPSHOT..
The addition of AbstractSet and Subject$ClassSet was required to get
persistence to work
with 2.2.0-SNAPSHOT
<additional-boot-jar-classes>
<include>java.util.AbstractSet</include>
<include>javax.security.auth.Subject</include>
<include>javax.security.auth.Subject$ClassSet</include>
<include>javax.security.auth.Subject$SecureSet</include>
<include>javax.security.auth.x500.X500Principal</include>
<include>javax.security.auth.kerberos.KerberosPrincipal</include>
</additional-boot-jar-classes>
...
<instrumented-classes>
<class-expression>edu.vt.middleware.ldap.jaas.LdapPrincipal</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.authn.UsernamePrincipal</class-expression>
<class-expression>edu.vt.middleware.ldap.jaas.LdapCredential</class-expression>
<class-expression>org.apache.commons.logging.impl.SLF4JLocationAwareLog</class-expression>
<class-expression>edu.vt.middleware.ldap.bean.UnorderedLdapBeanFactory</class-expression>
<class-expression>edu.vt.middleware.ldap.bean.UnorderedLdapBeanFactory$UnorderedLdapAttributes</class-expression>
<class-expression>edu.vt.middleware.ldap.bean.AbstractLdapAttributes</class-expression>
<class-expression>edu.vt.middleware.ldap.bean.AbstractLdapBean</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.authn.AuthenticationException</class-expression>
<class-expression>org.opensaml.util.storage.AbstractExpiringObject</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.common.attribute.resolver.provider.attributeDefinition.TransientIdEntry</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.authn.LoginContextEntry</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.authn.LoginContext</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.authn.ShibbolethSSOLoginContext</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.authn.Saml2LoginContext</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.session.impl.AuthenticationMethodInformationImpl</class-expression>
<class-expression>org.opensaml.util.storage.ReplayCacheEntry</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.session.impl.SessionManagerEntry</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.common.session.impl.AbstractSession</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.session.impl.SessionImpl</class-expression>
<class-expression>edu.internet2.middleware.shibboleth.idp.session.impl.ServiceInformationImpl</class-expression>
<class-expression>org.opensaml.common.binding.artifact.BasicSAMLArtifactMapEntry</class-expression>
<class-expression>org.opensaml.xml.util.LazyList</class-expression>
<class-expression>org.opensaml.xml.util.LazySet</class-expression>
<class-expression>org.opensaml.xml.util.LazyMap</class-expression>
</instrumented-classes>
------
thanks
kevin.foote
On Fri, 13 Aug 2010, Mahabalagiri, Datta wrote:
-> I am getting the same error. Anyone has a list classes that need to be
instrumented in TC for 2.2.0-SNAPSHOT?
->
-> java.lang.NullPointerException: null
-> at javax.security.auth.Subject$ClassSet.<init>(Subject.java:1311)
[na:1.6.0_13]
-> at javax.security.auth.Subject.getPrincipals(Subject.java:592)
[na:1.6.0_13]
-> at
edu.internet2.middleware.shibboleth.idp.session.impl.SessionImpl.__tc_wrapped_getPrincipalName(SessionImpl.java:98)
[shibboleth-identityprovider-2.2.0-SNAPSHOT.jar:na]
-> at
edu.internet2.middleware.shibboleth.idp.session.impl.SessionImpl.getPrincipalName(SessionImpl.java)
[shibboleth-identityprovider-2.2.0-SNAPSHOT.jar:na]
-> at
edu.internet2.middleware.shibboleth.idp.authn.AuthenticationEngine.startUserAuthentication(AuthenticationEngine.java:231)
[shibboleth-identityprovider-2.2.0-SNAPSHOT.jar:na]
-> at
edu.internet2.middleware.shibboleth.idp.authn.AuthenticationEngine.service(AuthenticationEngine.java:210)
[shibboleth-identityprovider-2.2.0-SNAPSHOT.jar:na]
-> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
[servlet-api.jar:na]
-> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
[catalina.jar:na]
-> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
[catalina.jar:na]
-> at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
[catalina.jar:na]
-> at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
[catalina.jar:na]
->
->
-> I can reproduce this. We have two nodes behind the load balancer. When I
first sign in traffic goes to node1. If the following authn request goes to
node2 node I get this error.
->
-> Thanks.
->
-> Datta
->
->
-> -----Original Message-----
-> From:
[mailto:]
On Behalf Of Kevin P. Foote
-> Sent: Wednesday, June 23, 2010 1:36 PM
-> To: shibboleth development
-> Subject: [Shib-Dev] 2.2.0-SNAPSHOT tc-config
->
->
-> Does anyone have the complete list of classes to add to the tc-config ..
->
-> I've added:
->
-> edu.vt.middleware.ldap.bean.UnorderedLdapBeanFactory
->
edu.vt.middleware.ldap.bean.UnorderedLdapBeanFactory$UnorderedLdapAttributes
-> edu.vt.middleware.ldap.bean.AbstractLdapAttributes
-> edu.vt.middleware.ldap.bean.AbstractLdapBean
->
->
-> But I'm getting an error so wondering if there is another class I
-> missed..
->
-> 15:40:30.125 - ERROR
->
[edu.internet2.middleware.shibboleth.common.profile.ProfileRequestDispatcherServlet:88]
-> - Erro
-> r occurred while processing request
-> java.lang.NullPointerException: null
-> at
-> javax.security.auth.Subject$ClassSet.<init>(Subject.java:1311)
-> [na:1.6.0_16]
-> at javax.security.auth.Subject.getPrincipals(Subject.java:592)
-> [na:1.6.0_16]
-> at
->
edu.internet2.middleware.shibboleth.idp.session.impl.SessionImpl.__tc_wrapped_getPrincipalName(SessionIm
-> pl.java:98) [shibboleth-identityprovider-2.2.0-SNAPSHOT.jar:na]
->
->
-> ------
-> thanks
-> kevin.foote
->
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Mahabalagiri, Datta, 08/13/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Kevin P. Foote, 08/16/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Mahabalagiri, Datta, 08/16/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Kevin P. Foote, 08/17/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Mahabalagiri, Datta, 08/19/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Mahabalagiri, Datta, 08/24/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Mahabalagiri, Datta, 08/19/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Kevin P. Foote, 08/17/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Mahabalagiri, Datta, 08/16/2010
- RE: [Shib-Dev] 2.2.0-SNAPSHOT tc-config, Kevin P. Foote, 08/16/2010
Archive powered by MHonArc 2.6.16.