Override authentication component

Change this authentication component;
..\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\authentication-services.xml

<bean id=”authenticationComponent” parent=”authenticationComponentBase”>
<property name=”accept” value=”true” />
<property name=”supportNtlm” value=”true” />
<property name=”allowGuestLogin”> <value>${alfresco.authentication.allowGuestLogin}</value>  </property>
<property name=”nodeService”>  <ref bean=”nodeService” />  </property>
<property name=”personService”>  <ref bean=”personService” />  </property>
<property name=”transactionService”>  <ref bean=”transactionService” />  </property>
<property name=”defaultAdministratorUserNames”>  <set>  <value>${alfresco_user_store.adminusername}</value>   <value>admin</value>     </set>  </property>
<property name=”defaultGuestUserNames”>    <set>        <value>${alfresco_user_store.guestusername}</value>     </set>  </property>
</bean>

Skips the authentication.
Accepts all passwords.
Login as admin to reset admin password.
Re-enable the authentication.
Done.

I`ll keep this post here – but I can’t get it to work..

Advertenties

Geef een reactie

Vul je gegevens in of klik op een icoon om in te loggen.

WordPress.com logo

Je reageert onder je WordPress.com account. Log uit / Bijwerken )

Twitter-afbeelding

Je reageert onder je Twitter account. Log uit / Bijwerken )

Facebook foto

Je reageert onder je Facebook account. Log uit / Bijwerken )

Google+ photo

Je reageert onder je Google+ account. Log uit / Bijwerken )

Verbinden met %s