Login Page

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-16-2008 03:28 AM
When we explore http://hostname:8080/alfresco the default page is "MY Alfresco Dashboard".
We want, like default page, logon page. What are the operations ?
Thanks
We want, like default page, logon page. What are the operations ?
Thanks
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2008 11:51 AM
Hi,
The reason why the dashboard is being shown is because you are being automatically logged on as the guest user. To force the login screen to be displayed, you can disable the guest user by creating a new file in your tomcat/shared/classes/afresco/extension directory called authentication-services-context.xml with the following content:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl">
<property name="authenticationDao">
<ref bean="authenticationDao" />
</property>
<property name="authenticationManager">
<ref bean="authenticationManager" />
</property>
<property name="personService">
<ref bean="personService" />
</property>
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="transactionService">
<ref bean="transactionService" />
</property>
<property name="allowGuestLogin">
<value>false</value>
</property>
</bean>
</beans>
If you are using a older version of Alfresco and you get errors then you may need to remove the personService, nodeService and transactionService parts but these are needed with the latest version.
Thanks,
Will.
The reason why the dashboard is being shown is because you are being automatically logged on as the guest user. To force the login screen to be displayed, you can disable the guest user by creating a new file in your tomcat/shared/classes/afresco/extension directory called authentication-services-context.xml with the following content:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="authenticationComponent" class="org.alfresco.repo.security.authentication.AuthenticationComponentImpl">
<property name="authenticationDao">
<ref bean="authenticationDao" />
</property>
<property name="authenticationManager">
<ref bean="authenticationManager" />
</property>
<property name="personService">
<ref bean="personService" />
</property>
<property name="nodeService">
<ref bean="nodeService" />
</property>
<property name="transactionService">
<ref bean="transactionService" />
</property>
<property name="allowGuestLogin">
<value>false</value>
</property>
</bean>
</beans>
If you are using a older version of Alfresco and you get errors then you may need to remove the personService, nodeService and transactionService parts but these are needed with the latest version.
Thanks,
Will.
