Using OpenID as Container managed security

57 views
Skip to first unread message

carlpa...@gmail.com

unread,
Apr 24, 2009, 9:17:12 PM4/24/09
to OpenID4Java
I think I'm missing something simple... Here's my issue, I want to
consider using OpenID as the Authentication mechanism for a hosted
TomCat container, I don't see any good examples of setting up TomCat
container managed security. I want to protect whole URI wildcard
ranges just like it was Form or Basic Auth.

Prabath at wso2.com tried to explain this at..
http://blog.facilelogin.com/2008/11/openid-authenticator-for-tomcat.html

but that posting is out of date and I can't get it to work.

Is OpenID4J not intended to be used at a contain level for
authentication? I've made the basic examples work...

does OpenID4Java also work for this type of authentication?
Is that the wrong way to use OpenID4Java?

Is there a simpler way to implement Registration/Login for a new
hosted site?

thoughts?


carlpa...@gmail.com

unread,
Apr 24, 2009, 9:17:19 PM4/24/09
to OpenID4Java

Johnny Bufu

unread,
Apr 24, 2009, 9:39:36 PM4/24/09
to openi...@googlegroups.com
On Fri, Apr 24, 2009 at 06:17:12PM -0700, carlpa...@gmail.com wrote:
>
> I think I'm missing something simple... Here's my issue, I want to
> consider using OpenID as the Authentication mechanism for a hosted
> TomCat container, I don't see any good examples of setting up TomCat
> container managed security. I want to protect whole URI wildcard
> ranges just like it was Form or Basic Auth.
>
> Prabath at wso2.com tried to explain this at..
> http://blog.facilelogin.com/2008/11/openid-authenticator-for-tomcat.html
>
> but that posting is out of date and I can't get it to work.

What is not working?


Johnny


carlpa...@gmail.com

unread,
Apr 24, 2009, 9:56:40 PM4/24/09
to OpenID4Java
Prabath's example resulted in the following error when I try to start
the WebApp in Tomcat.

Apr 24, 2009 9:54:28 PM org.apache.catalina.startup.ContextConfig
authenticatorConfig
SEVERE: Cannot instantiate an authenticator of class
org.wso2.OpenIDAuthenticator
java.lang.ClassNotFoundException: org.wso2.OpenIDAuthenticator
at java.net.URLClassLoader$1.run(Unknown Source)

I confirmed That class is in /lib directory in TomCat in the Jar
named openid-form-auth.jar



On Apr 24, 9:39 pm, Johnny Bufu <johnny.b...@gmail.com> wrote:

carlpa...@gmail.com

unread,
Apr 24, 2009, 10:17:54 PM4/24/09
to OpenID4Java
**UPDATE**

I have to apologize.

I noticed that in the error i previously mentioned: "SEVERE: Cannot
instantiate an authenticator of class org.wso2.OpenIDAuthenticator "

there is an extra " " in the name of the class that I configured in
the catalina.jar (Authenticators.properties file) that was stopping
the Authenticator from loading. It works now.







On Apr 24, 9:56 pm, "carlparzi...@gmail.com" <carlparzi...@gmail.com>
wrote:

David Hoffer

unread,
Feb 12, 2015, 10:09:53 PM2/12/15
to openi...@googlegroups.com, carlpa...@gmail.com
So how did this work out for you?  I too want to do the same thing but there is scarce info on this.  I'd like to know how this approach worked out for you.

-Dave
Reply all
Reply to author
Forward
0 new messages