Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@lharzenetter
Copy link

@lharzenetter lharzenetter commented Mar 23, 2022

PR description

This PR adds support to authenticate at OpenStack using application credentials.

Submitter checklist

Make sure that following is addressed to make the PR easier to process:

  • If applicable, changes are covered by either a unit or a functional test.
  • If applicable, changes ware verified manually against an OpenStack instance.
  • If the change is API related, the PR description links to OpenStack API documentation of that particular endpoint/request (https://docs.openstack.org/api-quick-start/#current-api-versions).
  • If the change concerns particular OpenStack service, its name is used as a PR name prefix (ex.: "Neutron: Add floatingIp port forwardings service").
  • If the PR closes existing GitHub issue, PR name have prefix: Fix #NNN: .

@cemo
Copy link

cemo commented Jan 11, 2023

@olivergondza can you please merge this?

@jorgebsa
Copy link

jorgebsa commented Feb 2, 2023

The lack of this feature is halting the adoption of OpenStack4J by the company I work at. Is there any blocker with this request, any specific reason why it hasn’t been accepted?

@lharzenetter
Copy link
Author

As long as this is not merged, you can use the fix by including a JitPack dependecy like this:

    <repositories>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
    </repositories>

...

        <dependency>
            <groupId>com.github.lharzenetter.openstack4j</groupId>
            <artifactId>openstack4j-core</artifactId>
            <version>0437cd269d</version>
        </dependency>
        <!-- Because Apache has nice debugging logs, we use it explicitly -->
        <dependency>
            <groupId>com.github.lharzenetter.openstack4j</groupId>
            <artifactId>openstack4j-httpclient</artifactId>
            <version>0437cd269d</version>
        </dependency>

For more information about JitPack see https://jitpack.io/#lharzenetter/openstack4j.

@microscotch
Copy link

@olivergondza, hello maintainer,the feature introduced by this pull request would be a real nice to have, as application credentials provide a way to delegate a user’s authorization to an application without sharing the user’s password authentication. This is a useful security measure, especially for situations where the user’s identification is provided by an external source, such as LDAP or a single-sign-on service.

Do you have time to have a look at it?

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

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.