[mitreid-connect] LDAP OpenID Connect Server releases

Justin Richer jricher at mit.edu
Tue Jul 14 14:19:49 EDT 2015


I just checked my local copy of the jar and it’s in there:

[jricher at Artemisia ~]$ jar tvf ~/.m2/repository/org/mitre/openid-connect-common/1.1.16/openid-connect-common-1.1.16.jar | grep UserInfo
  1421 Fri May 29 09:27:52 EDT 2015 org/mitre/openid/connect/config/ServerConfiguration$UserInfoTokenMethod.class
 12392 Fri May 29 09:27:52 EDT 2015 org/mitre/openid/connect/model/DefaultUserInfo.class
  1307 Fri May 29 09:27:50 EDT 2015 org/mitre/openid/connect/model/UserInfo.class
   565 Fri May 29 09:27:50 EDT 2015 org/mitre/openid/connect/repository/UserInfoRepository.class
   451 Fri May 29 09:27:52 EDT 2015 org/mitre/openid/connect/service/UserInfoService.class
  1619 Fri May 29 09:27:52 EDT 2015 org/mitre/openid/connect/web/UserInfoInterceptor$1.class
  3898 Fri May 29 09:27:52 EDT 2015 org/mitre/openid/connect/web/UserInfoInterceptor.class


I think you’ve got a bad copy of the jar file, somehow. Are you pulling them from Maven Central? You might want to clear your .m2 cache and rebuild.

 — Justin

> On Jul 14, 2015, at 2:15 PM, Luiz Omori <luiz.omori at duke.edu> wrote:
> 
> 1) Yes, I did clean my environment. I was concentrating on the first undefined, UserInfoRepository, as others could have been cascaded errors.  See below “decompiled” openid-connect-common 15, 16, and 2 (I hope you can see images…). Those jars are straight from the Maven repository.
> 
> <218DBCDB-A6C1-47A4-B3E5-259226528E8B.png>
> 
> <C373CF83-6DD3-4122-A509-95B03D4CB0B4.png>
> 
> 
> <50ECEFBB-15D8-4D94-B7B0-814C7D954EF3.png>
> 
> Regards,
> Luiz
> 
> 
> From: Justin Richer <jricher at mit.edu <mailto:jricher at mit.edu>>
> Date: Tuesday, July 14, 2015 at 1:46 PM
> To: Luiz Omori <luiz.omori at dm.duke.edu <mailto:luiz.omori at dm.duke.edu>>
> Cc: "mitreid-connect at mit.edu <mailto:mitreid-connect at mit.edu>" <mitreid-connect at mit.edu <mailto:mitreid-connect at mit.edu>>
> Subject: Re: [mitreid-connect] LDAP OpenID Connect Server releases
> 
> 
>> On Jul 14, 2015, at 1:38 PM, Luiz Omori <luiz.omori at duke.edu <mailto:luiz.omori at duke.edu>> wrote:
>> 
>> Hi,
>> 
>> We are using LDAP OpenID Connect Server to connect to our production LDAP backend. A few things:
>> 
>> 1) It fails for me when I try to compile against released Spring Server 1.1.16 after updating its POM
>> 
>> Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project ldap-openid-connect-server-webapp: Compilation failure: Compilation failure:
>> edu/mit/kit/repository/impl/LdapUserInfoRepository.java:[11,38] package org.mitre.openid.connect.model does not exist
>> edu/mit/kit/repository/impl/LdapUserInfoRepository.java:[12,38] package org.mitre.openid.connect.model does not exist
>> edu/mit/kit/repository/impl/LdapUserInfoRepository.java:[13,43] package org.mitre.openid.connect.repository does not exist
>> edu/mit/kit/repository/impl/LdapUserInfoRepository.java:[34,48] cannot find symbol
>> symbol: class UserInfoRepository
>> edu/mit/kit/repository/impl/LdapUserInfoRepository.java:[106,38] cannot find symbol
>> symbol:   class UserInfo
>> location: class edu.mit.kit.repository.impl.LdapUserInfoRepository
>> 
>> UserInfoRepository seems to have moved out of openid-connect-common 1.1.16 and back for 1.2?
> 
> That shouldn’t be happening. Did you clean your build environment? You should be depending on both -common and -server, as well as having the war dependency for -server-webapp so it shouldn’t matter where that class is. Besides, it’s still in -common in the 1.1 branch, nothing’s moved:
> 
> https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/1.1.x/openid-connect-common/src/main/java/org/mitre/openid/connect/model/UserInfo.java <https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/blob/1.1.x/openid-connect-common/src/main/java/org/mitre/openid/connect/model/UserInfo.java>
>> 
>> 2) Is this module (LDAP) part of any releases? I can’t see any in https://github.com/mitreid-connect/ldap-openid-connect-server <https://github.com/mitreid-connect/ldap-openid-connect-server>
>> 
> 
> This module has no official releases since it requires compilation and configuration to tie into an LDAP system.
> 
>> 3) Just curious: why is this packaged as a separate module instead of adding the classes to the core and handling the LDAP versus non-LDAP deployments through configuration? Is this module “officially” supported?
> 
> This project is more an example of how to build an LDAP-based version of the server than it is a standalone module, much like ‘example-server-overlay’. We also didn’t want to pull in all the LDAP dependencies to the core project when it wouldn’t need them. 
> 
> There’s been talk about a dockerized version of this module with a setup script, but development of that hasn’t been a priority. We’d gladly host such an image in the main project though!
> 
> Hope this helps,
>  — Justin
> 
>> 
>> Regards,
>> Luiz
>> 
>> _______________________________________________
>> mitreid-connect mailing list
>> mitreid-connect at mit.edu <mailto:mitreid-connect at mit.edu>
>> http://mailman.mit.edu/mailman/listinfo/mitreid-connect <http://mailman.mit.edu/mailman/listinfo/mitreid-connect>
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20150714/a832de93/attachment-0001.htm


More information about the mitreid-connect mailing list