jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From _Eric_ <er...@web.de>
Subject Security and Login jackrabbit1.5
Date Wed, 17 Jun 2009 15:34:38 GMT

Hallo list,

I have a problem during upgrade to version 1.5. The following serurity
configuration worked fine with 1.4:
<Security appName="Jackrabbit">
		<!--
			access manager:
			class: FQN of class implementing the AccessManager interface
		-->
		<AccessManager
			class="org.apache.jackrabbit.core.security.SimpleAccessManager">
			<!--  -->
		</AccessManager>

		<LoginModule
			class="org.apache.jackrabbit.core.security.SimpleLoginModule">
			<!-- anonymous user name ('anonymous' is the default value) -->
			
			<!--
				default user name to be used instead of the anonymous user
				when no login credentials are provided (unset by default)
			-->
			
		</LoginModule>
	</Security>

But with 1.5 I got the following exception:

15:15:36,953 ERROR [UsersRolesLoginModule] Failed to load
users/passwords/role files
java.io.IOException: No properties file: users.properties or defaults:
defaultUsers.properties found
	at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
	at
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
	at
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
	at
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
	at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
	at
org.apache.jackrabbit.core.security.authentication.JAASAuthContext.login(JAASAuthContext.java:60)
	at
org.apache.jackrabbit.core.RepositoryImpl.login(RepositoryImpl.java:1356)

I don't need any security stuff. ATM I don't want to define any user. 

Any help?

Greetings
-- 
View this message in context: http://www.nabble.com/Security-and-Login-jackrabbit1.5-tp24076236p24076236.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message