Skip to content

JCR-3836 - Add AuthorizableTypeException in user security API package#26

Open
tmaret wants to merge 7457 commits intoapache:trunkfrom
tmaret:JCR-3836
Open

JCR-3836 - Add AuthorizableTypeException in user security API package#26
tmaret wants to merge 7457 commits intoapache:trunkfrom
tmaret:JCR-3836

Conversation

@tmaret
Copy link
Copy Markdown
Member

@tmaret tmaret commented Dec 4, 2014

No description provided.

reschke and others added 30 commits April 19, 2013 16:19
…anager instances in use

Make the RepositoryConfig and WorkspaceInfo instances available through RepositoryContext

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1478719 13f79535-47bb-0310-9956-ffa450edef68
…anager instances in use

Allow the persistence manager to be retrieved

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1478757 13f79535-47bb-0310-9956-ffa450edef68
…ke some mvn release broke those)

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1479911 13f79535-47bb-0310-9956-ffa450edef68
…same data store

Move the getReference() method from DataIdentifier to DataRecord to make identifier handling easier

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1481964 13f79535-47bb-0310-9956-ffa450edef68
Drop log level from info to debug

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1483286 13f79535-47bb-0310-9956-ffa450edef68
…same data store

Revised version of Tommaso's patch. Including a test case.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1484440 13f79535-47bb-0310-9956-ffa450edef68
…same data store

Add a default implementation of the getRecord() method to the new AbstractDataStore base class

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1484442 13f79535-47bb-0310-9956-ffa450edef68
…same data store

Change getIdentifierFromReference() to getRecordFromReference() to avoid problems with a previously valid reference pointing to a record that has already been removed.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1484444 13f79535-47bb-0310-9956-ffa450edef68
…cr-server

Another workaround for the scr-plugin

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1484474 13f79535-47bb-0310-9956-ffa450edef68
Unico Hommes and others added 20 commits September 18, 2014 13:56
…urn. To prevent the SeededSecureRandom from stalling shutdown, call it on a daemon thread.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1631995 13f79535-47bb-0310-9956-ffa450edef68
Applying patch from Shashank Gupta.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1632481 13f79535-47bb-0310-9956-ffa450edef68
JCR-3817: [jackrabbit-aws-ext] Performance of operation degrades while running DS GC

Applying patch from Shashank Gupta

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1632482 13f79535-47bb-0310-9956-ffa450edef68
Depend on Oak 1.1-SNAPSHOT for now until 1.1.2 or newer is available

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1633758 13f79535-47bb-0310-9956-ffa450edef68
LoginModule configurations without an explicit principal provider class name will now be applied to the DefaultPrincipalProvider.


git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1634584 13f79535-47bb-0310-9956-ffa450edef68
…rts, replacing Session#checkPermission by #hasPermission

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1640344 13f79535-47bb-0310-9956-ffa450edef68
…acing Session.checkPermission by Session.hasPermission

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/trunk@1640530 13f79535-47bb-0310-9956-ffa450edef68
* Extend UserManager API to allow getting typed authorizable
* Increase the package version according to the API change
* Implement new API
* Cover the implementation with unit tests
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • type should be <T extends Authorizable>
  • javadoc for T missing

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

good point! It makes sense to set an upper bound for the type.

tmaret added 3 commits January 6, 2015 21:44
* set upper bound for generic type
* document generic type
* add ProviderType annotation to UserManager interface
* cast by catching ClassCastException
* remove getAuthorizable(Principal, Class) and getAuthorizableByPath(String, Class) signatures and implementations
* remove getAuthorizable(Principal, Class) and getAuthorizableByPath(String, Class) signatures and implementations
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.