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

Created FedoraWebACUserSecurityContext #896

Closed
wants to merge 5 commits into from

Conversation

mohideen
Copy link
Contributor

No description provided.

return true;
} else if ("http://www.w3.org/ns/auth/acl#Append".equals(roleName)) {
return true;
} else if ("http://www.w3.org/ns/auth/acl#Control".equals(roleName)) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to define these constants. Should we move URIContants from the WebAC project to here?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned above, we do not want to introduce "web-ac" concepts into the core codebase. We should figure out how to instead move this class into the fcrepo-module-auth-webac project.

Move FedoraWebACUserSecurityContext to WebAC project.
Moved FedoraUserSecurityContext instantiation to fad
/**
* Get an instance of FedoraUserSecurityContext that is compatible with the auth module.
* @param userPrincipal
* @return
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add detail to @param and @return

Added fedora-auth-common test-jar build for extension in webac project.
@awoods
Copy link

awoods commented Sep 2, 2015

Is this ticket ready for review?
https://jira.duraspace.org/browse/FCREPO-1714

@awoods
Copy link

awoods commented Sep 2, 2015

Resolved with: 3b03cc1

@awoods awoods closed this Sep 2, 2015
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.

None yet

3 participants