Skip to content
This repository was archived by the owner on Jul 22, 2021. It is now read-only.

NIFIREG-46 Add authorizedActions field to Bucket#30

Closed
kevdoran wants to merge 2 commits intoapache:masterfrom
kevdoran:NIFIREG-46
Closed

NIFIREG-46 Add authorizedActions field to Bucket#30
kevdoran wants to merge 2 commits intoapache:masterfrom
kevdoran:NIFIREG-46

Conversation

@kevdoran
Copy link
Contributor

@kevdoran kevdoran commented Nov 1, 2017

This builds upon PR #29 (NIFIREG-33), so only the commits on top of that need to considered.

The API now returns an additional field for a Bucket, telling the client what actions they are authorized to perform on that bucket. For example:

"authorizedActions": ["read", "write", "delete"]

With this change, /buckets is now a convenient initial endpoint to use to both check authentication of the client identity and discover buckets and authorizations available to the client.

@kevdoran
Copy link
Contributor Author

kevdoran commented Nov 7, 2017

As PR #29 is wrapping up, I will wait until that is merged and then rebase this branch on the new master.

- Adds LdapIdentityProvider for authentication
- Adds /access/token endpoint for generating JWT for users that can authenticate with a configured IdenitiyProvider
- Adds JwtAuthenticationProvider for authentication
- Adds KeyService for key generation and tracking for signing JWTs
- Adds LdapUserGroupProvider for authorization
- Adds LDAP integration tests
- Refactors nifi-registry-security-api-impl into nifi-registry-framework
- Refactors all security related packages, such as o.a.n.r.authorization and o.a.n.r.authentication, under org.apache.nifi.registry.security
- Fixing issues found in code review
- Make LoginIdentityProviderFactory a DisposableBean

This closes apache#29.

Signed-off-by: Bryan Bende <bbende@apache.org>
@bbende
Copy link
Contributor

bbende commented Nov 8, 2017

+1 Verified the authorizedActions are returning correctly, will merge, thanks!

@kevdoran
Copy link
Contributor Author

kevdoran commented Nov 8, 2017

Cool, thanks @bbende!

@asfgit asfgit closed this in 9b41af8 Nov 8, 2017
@kevdoran kevdoran deleted the NIFIREG-46 branch November 29, 2017 23:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants