Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to build #61

Open
136750162 opened this issue Jan 4, 2023 · 14 comments
Open

unable to build #61

136750162 opened this issue Jan 4, 2023 · 14 comments

Comments

@136750162
Copy link

Wrends:opendj-core:jar:3.0.0 dependency cannot be found when the project is built
Could not find artifact org.wrensecurity.wrends:opendj-core:jar:3.0.0 in wrensecurity-releases (https://wrensecurity.jfrog.io/wrensecurity/releases)

@pavelhoral
Copy link
Member

Are you trying to build main branch? That is being built by GitHub CI and the build is passing - https://github.com/WrenSecurity/wrends/actions . Or are you trying to build tag 3.0.0 or one of the sustaining branches?

@136750162
Copy link
Author

Currently I am trying to build locally and need to do some secondary customized development based on this project

@136750162
Copy link
Author

I would like to ask you a question. At present, I need to use the ldap service as a transit service. It only verifies the correctness of the user but does not perform password verification. If the user is incorrect, it will directly return the login failure. After the user data verification is correct , the password verification is verified by a third-party organization. May I ask whether this function can be realized based on this project?

@siepkes
Copy link
Member

siepkes commented Jan 4, 2023

@136750162 Is password delegation what you are looking for (see these docs)?

An authentication policy for users whose credentials are managed by a remote LDAP directory service.

@pavelhoral
Copy link
Member

pavelhoral commented Jan 4, 2023

Currently I am trying to build locally and need to do some secondary customized development based on this project

But what version are you trying to build / use? If possible, go with the latest release (4.0.0-RC1 at the moment).

Could not find artifact org.wrensecurity.wrends:opendj-core:jar:3.0.0 in wrensecurity-releases

Previous versions were published under the original (unchanged) groupId org.forgerock.opendj.

@136750162
Copy link
Author

Currently I am trying to build locally and need to do some secondary customized development based on this project

But what version are you trying to build / use? If possible, go with the latest release (4.0.0-RC1 at the moment).

Could not find artifact org.wrensecurity.wrends:opendj-core:jar:3.0.0 in wrensecurity-releases

Previous versions were published under the original groupId org.forgerock.opendj.

Currently I am trying to build locally and need to do some secondary customized development based on this project

But what version are you trying to build / use? If possible, go with the latest release (4.0.0-RC1 at the moment).

Could not find artifact org.wrensecurity.wrends:opendj-core:jar:3.0.0 in wrensecurity-releases

Previous versions were published under the original groupId org.forgerock.opendj.

I pulled the latest version 4.0.0.RC1

@136750162
Copy link
Author

@136750162 Is password delegation what you are looking for (see these docs)?

An authentication policy for users whose credentials are managed by a remote LDAP directory service.

What we want to do now is to build this ldap service only as a username authentication. After the authentication is successful, the authentication request will be forwarded to a third-party authentication password organization for password verification. Can the current project support such a function?

@siepkes
Copy link
Member

siepkes commented Jan 4, 2023

@136750162 I don't know if it can do that since it's not a requirement I have ever had. Since Wren:DS is based on OpenDS 3.5 if it is possible it should be described in the OpenDS 3.5 documentation.

I don't know if I have ever even seen such a feature on other directory services? Does for example 389, OpenLDAP or Apache Directory server support it?

I don't know your specific usecase but it sounds to me password delegation would also solve your problem?

@136750162
Copy link
Author

I don't know if I have ever even seen such a feature on other directory services? Does for example 389, OpenLDAP or Apache Directory server support it?
I don't know your specific usecase but it sounds to me password delegation would also solve your problem?
Thank you for your answer Wren: Does the DS project currently have relevant documents?

@pavelhoral
Copy link
Member

Documentation is something we want to focus on this year. Right now we have only a placeholder site for it - https://docs.wrensecurity.org/wrends/latest/index.html . So the best way to learn about the project is to work with the source code and JavaDoc at the moment. Or you can use the original documentation from ForgeRock that we did not migrate due to licensing issues.

@136750162
Copy link
Author

@pavelhoral Hello, I want to know Wren: DS, can this project achieve a similar authentication forwarding function like Getaway?

@pavelhoral
Copy link
Member

pavelhoral commented Jan 5, 2023

As previously said - you need to dig through the code or use the (pre-fork) original documentation at the moment. You might also check sample code that shows how to create custom LDAP listener / handler:

But... as @siepkes wrote - maybe all you need is custom authentication policy implementation https://backstage.forgerock.com/docs/opendj/3/configref/authentication-policy.html

@136750162
Copy link
Author

As previously said - you need to dig through the code or use the (pre-fork) original documentation at the moment. You might also check sample code that shows how to create custom LDAP listener / handler:

But... as @siepkes wrote - maybe all you need is custom authentication policy implementation https://backstage.forgerock.com/docs/opendj/3/configref/authentication-policy.html

Then I am going directly to implement and write my own AuthenticationPolicy, how should I use my policy after writing it?

pavelhoral

Hello pavelhoral, thank you very much for your answer above, I would like to ask, my local Windows system wants to deploy this project, how should I deploy it?

@136750162
Copy link
Author

@siepkes Does the Authentication Policy you mentioned refer to the authentication policy for logging in to the LDAP server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants