-
1. Re: Custom AuthorizationProvider
hchiorean Oct 23, 2012 9:22 AM (in response to zztg16)Hi Steven,
Are you configuring the authentication provider via CLI or just editing standalone-modeshape.xml ? Could you pls post the configuration xml with the <authenticators> section ? Thanks.
-
2. Re: Custom AuthorizationProvider
zztg16 Oct 23, 2012 9:40 AM (in response to hchiorean)Hi Horia,
Thank you for the very prompt response.
I'm adding it by modifying my standalone.xml file direcly as I couldn't find the correct params under the CLI for this, proably not looking hard enough...
Section from my standalone.xml, the DRSAuthorizationProvider implements the org.modeshape.jcr.security.AuthorizationProvider interface, all that the class does at the moment is to log a line to the console log and return true.. Trying to get the plumbing working firts.
<subsystem xmlns="urn:jboss:domain:modeshape:1.0">
<repository name="drs" cache-name="drs" cache-container="modeshape" security-domain="other">
<authenticators>
<authenticator classname="uk.co.drs.security.DRSAuthorizationProvider" module="uk.co.drs" name="DRSAuthorization" />
</authenticators>
<node-types>
<node-type>
datamodel/drs.cnd
</node-type>
</node-types>
<workspaces default-workspace="drsWorkspace">
<workspace name="drsWorkspace"/>
<workspace name="systemWorkspace"/>
</workspaces>
<cache-index-storage data-cache-name="drs-index-data" metadata-cache-name="drs-index-metadata" lock-cache-name="drs-index-locks" cache-container="modeshapeIndexCache"/>
</repository>
</subsystem>
Kind regards,
Steve
-
3. Re: Custom AuthorizationProvider
hchiorean Oct 23, 2012 10:36 AM (in response to zztg16)1 of 1 people found this helpfulI think this is caused by a bug in our AS7 subsystem. I've opened https://issues.jboss.org/browse/MODE-1690.
-
4. Re: Custom AuthorizationProvider
zztg16 Oct 23, 2012 10:38 AM (in response to hchiorean)Thank you for your help it's very much apprecated