Liferay is a Gartner Magic Quadrant Leader for the Sixth Year! Find out why

Combination View Flat View Tree View
Threads [ Previous | Next ]
Urban Lindberg
Wrong package in jaas.config in liferay-administrator-guide-6.0.pdf
November 8, 2010 4:19 AM
Answer

Urban Lindberg

Rank: New Member

Posts: 4

Join Date: December 14, 2009

Recent Posts

In the administrator guide for 6.0 configuring JAAS
In jaas.config I define
<Realm
className="org.apache.catalina.realm.JAASRealm"
appName="PortalRealm"
userClassNames="com.liferay.portal.security.jaas.PortalPrincipal"
roleClassNames="com.liferay.portal.security.jaas.PortalRole"
.../>

And when I start tomcat I get Class not found. I guess it depends on a change in the package structure?

I changed to this below

<Realm
className="org.apache.catalina.realm.JAASRealm"
appName="PortalRealm"
userClassNames="com.liferay.portal.kernel.security.jaas.PortalPrincipal"
roleClassNames="com.liferay.portal.kernel.security.jaas.PortalRole"
.../>

and the complaint stops.

Is this an error in documentation? Or am I doing something weird? Am I missing some library?