Hi

Try this "JetspeedSecurity.properties"


-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
services.JetspeedSecurity.classname=org.apache.jetspeed.services.security.JetspeedDBSecurityService


services.JetspeedSecurity.programmatic.cascade.delete=false
services.PortalAuthentication.classname=org.apache.jetspeed.services.security.ldap.LDAPAuthentication
services.PortalAccessController.classname=org.apache.jetspeed.services.security.registry.RegistryAccessController
services.UserManagement.classname=org.apache.jetspeed.services.security.ldap.LDAPUserManagement


services.JetspeedSecurity.user.class=org.apache.jetspeed.om.security.ldap.LDAPUser


services.RoleManagement.classname=org.apache.jetspeed.services.security.ldap.LDAPRoleManagement


services.JetspeedSecurity.role.class=org.apache.jetspeed.om.security.ldap.LDAPRole


services.GroupManagement.classname=org.apache.jetspeed.services.security.ldap.LDAPGroupManagement


services.JetspeedSecurity.group.class=org.apache.jetspeed.om.security.ldap.LDAPGroup


services.PermissionManagement.classname=org.apache.jetspeed.services.security.ldap.LDAPPermissionManagement


services.JetspeedSecurity.permission.class=org.apache.jetspeed.om.security.ldap.LDAPPermission
#
services.SecurityCache.classname=org.apache.jetspeed.services.security.SecurityCacheImpl
# This is used by the SecurityService to make the password checking
# secure. When enabled, passwords are transformed by a one-way
# function into a sequence of bytes that is base64 encoded.
# It is impossible to guess the plain-text form of the password
# from the representation. When user logs in, the entered password
# is transformed the same way and then compared with stored value.
#
# Default: false
#

services.JetspeedSecurity.secure.passwords=true

#
# This property lets you choose what digest algorithm will be used
# for encrypting passwords. Check documentation of your JRE for
# available algorithms.
#
# Default: SHA
#

services.JetspeedSecurity.secure.passwords.algorithm=SHA
# Role(s) to assign to new user.  Multiple Role must be comma separated.
services.JetspeedSecurity.newuser.roles=user

# Default permission(s) when object have no permissions defined
# The follow permissions are define in the default Jetspeed installation:
#     view, customize, minimize, maximize, close
#     * = All permissions
services.JetspeedSecurity.permission.default.anonymous=view
services.JetspeedSecurity.permission.default.loggedin=*

# During logon, username and password can be case sensitive or case
insensitive
# This option configures the logon username and password to be case
sensitive or insensitive
# if its case insensitive, then "logon.casesensitive.upper" controls
whether the username and
# password or converted to upper or lower case before passing on to the
database
services.JetspeedSecurity.caseinsensitive.username=false
services.JetspeedSecurity.caseinsensitive.password=false
services.JetspeedSecurity.caseinsensitive.upper=true

# Auto-Account-Disable Feature
services.JetspeedSecurity.logon.auto.disable=false

# 3 logon strikes per 300 seconds and your out
services.JetspeedSecurity.logon.strike.count=3
services.JetspeedSecurity.logon.strike.interval=300
# dont allow more than 10 over any time period
services.JetspeedSecurity.logon.strike.max=10

# anonymous user
services.JetspeedSecurity.user.anonymous=anon

# Caching
services.JetspeedSecurity.caching.enable=true

#
# Number of days until password expires. To disable
# this feature, set it to 0.
#
# Default:  0
#
services.JetspeedSecurity.password.expiration.period=0

#########################################
# Action buttons                        #
#########################################
services.JetspeedSecurity.actions.anon.disable=true
services.JetspeedSecurity.action.allusers.disable=false

#
services.ldap.classname=org.apache.jetspeed.services.ldap.LDAPService
services.ldap.host=10.84.205.3
services.ldap.port=389
services.ldap.sslport=636
services.ldap.basedn=ou/jetspeed%o/apache
services.ldap.managerdn=cn/ldapadmin%ou/jetspeed%o/apache
services.ldap.password=secret
services.ldap.anonymousbind=false
services.ldap.securityauthentication=simple
#services.ldap.securityprotocol=ssl
#services.ldap.socketfactory=javax.net.ssl.SSLSocketFactory
#services.ldap.jndiprovider=com.sun.jndi.ldap.LdapCtxFactory
#services.ldap.saslclientpckgs=
services.ldap.limit=0
services.ldap.timeout=0
services.ldap.version=3
LocalWords:  SHA





                                                                                       
                       
                      Dominique Cimafranca                                             
                       
                      <dominique_cimafranca         Pour :   
[EMAIL PROTECTED]                 
                      @yahoo.com>                   cc :                               
                       
                                                    Objet :  Jetspeed-LDAP 
authentication problems            
                      19/02/2003 09:56                                                 
                       
                      Veuillez r�pondre �                                              
                       
                      "Jetspeed Users List"                                            
                       
                                                                                       
                       
                                                                                       
                       



I am a relative newcomer to Jetspeed, and I am trying to get it to
authenticate with LDAP.  I am using jetspeed-1.4b3 with OpenLDAP-2.0.11 on
Red Hat 7.2.

I have succeeded in populating the LDAP database using the supplied LDIF
file, and I can verify that my LDAP server is responding to queries by
using ldapsearch.

I'm not quite certain whether to just append the entries in the
LDAP-JetspeedSecurity.properties file to the existing
JetspeedSecurity.properties, or to replace the entries.  Just appending
the LDAP entries still causes Jetspeed to authenticate against HyperSQL,
but replacing the entries gives me

Horrible Exception: org.apache.turbine.services.InstantiationException:
ServiceBroker: unknown service PortalAuthentication requested
             at
org.apache.turbine.services.BaseServiceBroker.getServiceInstance(BaseServiceBroker.java:354)

             at
org.apache.turbine.services.BaseServiceBroker.getService(BaseServiceBroker.java:296)

             at
org.apache.jetspeed.services.JetspeedAuthentication.getService(JetspeedAuthentication.java:133)




My JetspeedSecurity.properties file and the full error are given below.

Can someone point out what I'm doing wrong?  Thanks in advance.

=====
---------------------------------------------------------------------
Dominique Gerald M. Cimafranca | E-mail: [EMAIL PROTECTED]
Village Idiot Savant           | Web site: http://www.sketches.kom.ph
Dumaguete City, Philippines    | Fortuna favet fatuis.
---------------------------------------------------------------------

__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to