As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
protected abstract boolean implementationAllowsGuestLogin();
@Override protected boolean implementationAllowsGuestLogin() { return true; }
<bean id="authenticationComponentImpl" class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl"> <property name="authenticationDao"> <ref bean="alfDaoImpl" /> </property> <property name="authenticationManager"> <ref bean="authenticationManager" /> </property> <property name="allowGuestLogin"> <value>true</value> </property> </bean>
<property name="allowGuestLogin"> <value>true</value> </property>
<property name="allowGuestLogin"> <value>false</value> </property>
when disabling the guest access, the link "Guest Home" is still visible. Can this also be disabled? Thanks.
As of Alfresco version 3.2, the subsystems are: Authentication Handles all Alfresco's authentication related functions, including: * Password-based authentication * Single Sign-on (SSO) for WebClient, WebDAV, Web Scripts and Sharepoint * CIFS and FTP authentication * User registry export (LDAP only) The subsystem is 'chained' so that multiple instances of different types can be configured and used together Synchronization Performs regular synchronization with the user registry exporters (usually LDAP directories) in the authentication chain File Servers Owns the CIFS, FTP and NFS servers Third Party Owns the OpenOffice, Swftools and ImageMagick content transformers IMAP Owns the IMAP service WCM Deployment Receiver Part of WCM. WCM_Deployment_Engine
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl" parent="authenticationComponentBase"> <property name="authenticationDao"> <ref bean="authenticationDao" /> </property> <property name="authenticationManager"> <ref bean="authenticationManager" /> </property> <property name="allowGuestLogin"> <value>fasle</value> </property> <property name="nodeService"> <ref bean="nodeService" /> </property> <property name="personService"> <ref bean="personService" /> </property> <property name="transactionService"> <ref bean="transactionService" /> </property> </bean>
Hello,You can disable guest access within the authentication-services-context.xmlThe relevant section is: <bean id="authenticationComponentImpl" class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl"> <property name="authenticationDao"> <ref bean="alfDaoImpl" /> </property> <property name="authenticationManager"> <ref bean="authenticationManager" /> </property> <property name="allowGuestLogin"> <value>true</value> </property> </bean>Change <property name="allowGuestLogin"> <value>true</value> </property> To: <property name="allowGuestLogin"> <value>false</value> </property> You can use the new extension configuration functionality to change this setting: see hereHope this helps,Steve
authentication.chain=ldap1:ldap,ldap2:ldap
ldap.authentication.allowGuestLogin=false
08:31:07,840 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 07061383 Guest authentication not supported