My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
Installation  
How to install the package
Phase-Deploy
zh-Hans , en
Updated Jun 15, 2009 by Johnny.B...@gmail.com

Installing the package

See also the INSTALL file from the official packages.

OpenID4Java library

To make the OpenID4Java library available to a (web) application the following JAR files need to be copied to the application's classpath:

openid4java-*.jar

Library dependencies

  • lib/*jar : Required. Core OpenID4Java library dependencies.
  • lib/optional/*.jar : Optional. Libraries supporting alternative deployments.
  • lib/extra/*.jar : Optional. Extra/development libraries, not needed for deployment (JUnit tests, Jetty servlet container, SVN/Ant utilities)
  • lib/xri/*.jar : Optional. Local OpenXRI resolver dependencies. Included only in the "openid4java-xri" and "openid4java-full" packages. (A dependency-less proxy XRI resolver is included in the standard package)
  • lib/infocard/*.jar : Optional. OpenID-Infocards/Higgins STS dependencies. Included only in the "openid4java-infocard" and "openid4java-full" packages.

See Also

RelyingPartyDiscovery

For maven2 users: MavenHowTo

Comment by son.c...@gmail.com, Sep 28, 2007

where are the libraries? There's nothing in the download area

Comment by son.c...@gmail.com, Sep 28, 2007
Comment by guido.ga...@gmail.com, Oct 7, 2007

What lib/endorsed libraries are needed for ? It seems a little tricky IMHO. Thanks.

Comment by witic...@gmail.com, Apr 28, 2008

46MB download for a simple redirect and de/encryp - are you fuckin' drunk?

Comment by enrico.d...@gmail.com, May 3, 2008

I suppose that in 46MB there's much more than the libraries ... You can find also thrid parties libraries, sources, samples, javadocs,

Comment by rawj...@gmail.com, Jun 13, 2008

What is the difference between joid and openid4j are these different flavors of the same thing? Are there any real differences?

Comment by martin.t...@gmail.com, Jun 22, 2008

I'm also interested in a detailed description which dependencies are required for which usecase. If I'm using "mvn dependency:tree" on my project there are too many dependencies shown, e.g. dependencies to html-parsers, the spring framework, etc. Are all this dependencies really needed? Thanks

Comment by upeksha....@gmail.com, Oct 10, 2008

hi, Any getting started Tutorials?

regards Upeksha

Comment by TanmayaM...@gmail.com, Aug 22, 2009

which one to checkout. All the files n folders under trunk ???

Comment by albayra...@gmail.com, Apr 23, 2010

what should i write about <inherits> .gxt.xml about openid4java-.jar can someone help me pls

Comment by albayra...@gmail.com, Apr 24, 2010

i want to use openid4java i added a jar file but i cant configure my .gwt.xml file how can i configure the my .gwt.xml file when i add a .jar file

Comment by albayra...@gmail.com, Apr 24, 2010

i takes same error again i want to use openid4java i put .jar about openid and i give it as built path i writed dene6.java

import org.openid4java.message.AuthRequest?; import com.extjs.gxt.ui.client.widget.form.TextField?; import com.google.gwt.core.client.EntryPoint?; public class Dene6 implements EntryPoint? {
public void onModuleLoad() { AuthRequest? as;
TextField? ass = new TextField?(); RootPanel?.get().add(ass);}}

this is my dene6.gwt.xml

<?xml version="1.0" encoding="UTF-8"?> <module rename-to='dene6'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.extjs.gxt.ui.GXT'></inherits>
<inherits name='com.google.gwt.user.theme.standard.Standard'/> <entry-point class='dene.client.Dene6'/> <source path='client'/> <source path='shared'/>
</module>

when onModuleLoad() start its give

  1. :56:13.622 DEBUG? dene6? Validating newly compiled units
  2. :56:13.628 ERROR? dene6? Errors in 'file:/C:/Users/BNYMN/workspace/dene6/src/dene/client/Dene6.java'
  3. :56:13.654 ERROR? dene6? Line 31: No source code is available for type org.openid4java.message.AuthRequest?; did you forget to inherit a required module?
  4. :56:15.454 TRACE? dene6? Finding entry point classes
  5. :56:15.459 ERROR? dene6? Unable to find type 'dene.client.Dene6'
  6. :56:15.476 ERROR? dene6? Hint: Previous compiler errors may have made this type unavailable
  7. :56:15.495 ERROR? dene6? Hint: Check the inheritance chain from your module; it may not be inheriting a required module or a module may not be adding its source path entries properly
  8. :56:15.514 ERROR? dene6? Failed to load module 'dene6' from user agent 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3' at 127.0.0.1:53236

can someone help me pls?

Comment by miroslav...@gmail.com, May 3, 2010

@albayrakby You cant use openid4java within GWT on the client. You must use it on the server like any other library.

Comment by LilianeS...@gmail.com, May 4, 2010

i have a roblem when i am trying to use this libraries due to the infinte libraries dependencies that arises. Please i need help to create an opeid identity provider demo

Comment by pat22...@gmail.com, Aug 27, 2010

Doing the official svn checkout and then cd openid4java-read-only/ mvn jetty:run

does not work, error message: {{{ERROR? BUILD ERROR INFO? ------------------------------------------------------------------------ INFO? The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found INFO? -------------------------------

Comment by hemantka...@gmail.com, Sep 8, 2010

i am using a simple leave application with google apps.how can i integrate that in apps????

Comment by ganivojj...@gmail.com, Sep 20, 2010

I am getting ClassNotFoundException??? ANy help?? [2010-09-20 16:27:47,425] [http--80-7$8526839] server error 500 java.lang.NoClassDefFoundError?: org/openid4java/message/MessageExtension?

at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at java.lang.Class.newInstance0(Class.java:321) at java.lang.Class.newInstance(Class.java:303) at org.apache.struts.util.RequestUtils?.applicationInstance(RequestUtils?.java:143) at org.apache.struts.action.RequestProcessor?.processActionCreate(RequestProcessor?.java:280) at org.apache.struts.action.RequestProcessor?.process(RequestProcessor?.java:218) at org.apache.struts.action.ActionServlet?.process(ActionServlet?.java:1194)

Comment by savi...@gmail.com, Oct 17, 2010

I am getting exactly the same message. Did you manage to resolve it. It seems it is not working with GWT...

Comment by sunardi....@gmail.com, Jan 11, 2011

java

Comment by shyame...@gmail.com, Jun 1, 2011

I need to build the openid4java-0.9.6 samples but, it fails since maven2 repo do not contain openid4java-0.9.6- .jars. Where can i get them?

Comment by gabriels...@gmail.com, Jun 23, 2011

listo pues! voy a probarla justo ahora! necesitan desarrolladores?

Comment by joerg.po...@gmail.com, Aug 12, 2011

Hi, I'm getting TLD scanning exceptions during initial deployment on my glassfish server:

WARNING: PWC6351: In TLD scanning, the supplied resource file:/C:/Users/Matrixx/Documents/NetBeansProjects?/sbox/dist/gfdeploy/sbox/lib/log4j.jar does not exist java.io.FileNotFoundException?: C:\Users\Matrixx\Documents\NetBeansProjects?\sbox\dist\gfdeploy\sbox\lib\log4j.jar

WARNING: PWC6351: In TLD scanning, the supplied resource file:/C:/Users/Matrixx/Documents/NetBeansProjects?/sbox/dist/gfdeploy/sbox/lib/log4j-core.jar does not exist java.io.FileNotFoundException?: C:\Users\Matrixx\Documents\NetBeansProjects?\sbox\dist\gfdeploy\sbox\lib\log4j-core.jar

I haven't included any log4j libs as they are optional. The openid4java library is still working and it logs correctly into the glassfish output. But I want to get rid of exceptions during deployment. Is there a way to fix/workaround that?

Comment by joerg.po...@gmail.com, Aug 13, 2011

FYI: The commons-logging-1.03.jar hat a class-path extension in it's manifest. Removing this extension fixed the TLD scanning issues.


Sign in to add a comment
Powered by Google Project Hosting