jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simer anand <simer.anan...@gmail.com>
Subject Re: Implementing Jaas
Date Fri, 18 Sep 2009 06:59:32 GMT

Hello Users

simer anand wrote:
>  
>               
>                    I tried to implement the Jaas thing into repository and
> when tried the authorization tutorial programs into the repository.xml and
> when i switched to the
> http://localhost:8080/jackrabbit-webapp-1.5.6./repository/default/ then
> following thing printed out.
> 
> javax.jcr.RepositoryExceptionfailed to instantiate AccessManager
> implementation:
> org.apache.jackrabbit.core.security.simple.SimpleAccessManager:
> sample.SampleAction cannot be cast to
> org.apache.jackrabbit.core.security.AccessManager
> 

Actually what i did is i started with the Jaas Authorization and then in
repository.xml 
<AccessManager class ="sample.SampleAction"> and when i started the catalina
then 
and move to url
http://localhost:8080/jackrabbit-webapp-1.5.6/repository/default/ then i get
this error 

javax.jcr.RepositoryExceptionfailed to instantiate AccessManager
implementation:
org.apache.jackrabbit.core.security.simple.SimpleAccessManager:
sample.SampleAction cannot be cast to
org.apache.jackrabbit.core.security.AccessManager

Thanks, 
simer
-- 
View this message in context: http://www.nabble.com/Implementing-Jaas-tp25489713p25503980.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message