Hello,
I've installed Alfresco Community 2.1RC on Windows XP, a workstation belonging to a Windows domain.
In C:\Alfresco\tomcat\shared\classes\alfresco\extension\ I've changed the name of jaas-authentication-context.xml.sample to jaas-authentication-context.xml. Then edited DEFAULT.REALM to the name of my Windows domain as follows:
<pre><tt><blockquote>
<bean id="authenticationComponent"
class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent">
<property name="realm">
<value>IXXUS</value>
</property>
</blockquote></tt></pre>
… then, added the following to the top of file-servers-custom.xml :
<pre><tt><blockquote>
<alfresco-config area="file-servers">
<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="passthru">
<LocalDomain/>
</authenticator>
</config>
</blockquote></tt></pre>
Now when I browse to the CIFS share, I can access files as my currently logged in domain user. Much 🙂 🙂 🙂 !!
The problem is: when I try to log into the Alfresco web interface with my domain username and password, I get the following error:
<pre><tt><blockquote>
javax.faces.FacesException: Error calling action method of component with id loginForm:submit
caused by:
javax.faces.el.EvaluationException: Exception while invoking expression #{LoginBean.login}
caused by:
java.lang.SecurityException: Unable to locate a login configuration
caused by:
java.io.IOException: Unable to locate a login configuration
</blockquote></tt></pre>
It seems like many users have asked for a simple working configuration, and I have yet to find one.