cancel
Showing results for 
Search instead for 
Did you mean: 

[HELP] JAAS-Config not working after update 3.0.0b to 3.4c

dnalos
Champ in-the-making
Champ in-the-making
Hello, everybody,

i have install alfresco in my tomcat since 3.0.0b. Now i have update it to 3.4c.
But my Login-Configuration is not working.

I have a configuration file jaas-authentication-context.xml, what define my Jaasconfiguration. see:

http://wiki.alfresco.com/wiki/Enterprise_Security_and_Authentication_Configuration#JAAS_-_Java_Authe...

But this configurationfile is not working now.
Anybody have any idea what this is?

Thank you very muck!
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
The document you refer to (and your configuration file) is obsolete in versions > 3.2.  

Perhaps if you posted your config file that may help people to understand what configuration you are trying to upgrade.

dnalos
Champ in-the-making
Champ in-the-making
Hello, Mrogers,

thank you for your help, my jaas-authentication-context.xml under %CATALINA_HOME%\shared\classes\alfresco\extension\ is define like this:


<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>
    <!– The authentication component.                                      –>

    <!– Jass authentication - most of the config goes somewhere else       –>
      
    <bean id="authenticationComponent"
          class="org.alfresco.repo.security.authentication.jaas.JAASAuthenticationComponent"
          parent="authenticationComponentBase">
        <property name="realm">
            <value>DEFAULT.REALM</value>
        </property>
        <property name="jaasConfigEntryName">
            <value>Alfresco</value>
        </property>
        <property name="nodeService">
            <ref bean="nodeService" />
        </property>
        <property name="personService">
            <ref bean="personService" />
        </property>
        <property name="transactionService">
            <ref bean="transactionService" />
        </property>   
    </bean>

    <!– DAO that rejects changes - JAAS is read only at the moment.      –>
    <!– It does allow users to be deleted with out warnings from the UI. –>
    <!– The user is still present in JAAS, only the personal information is removed from alfresco. –>
   
    <bean name="authenticationDao" class="org.alfresco.repo.security.authentication.DefaultMutableAuthenticationDao" >
        <property name="allowDeleteUser">
            <value>true</value>
        </property>
    </bean>   

</beans>


And hier ist the Content my %CATALINA_HOME%\cong\jaas.config

Alfresco {
   de.xxxx.xxxx.alfresco.AlfrescoLoginModule REQUIRED;
};

Thank you very much

dnalos
Champ in-the-making
Champ in-the-making
Hi, mrogers,

do you have any idea?

bildev
Champ in-the-making
Champ in-the-making
Hi, mrogers,

do you have any idea?

Hi, 
I am having the same problem as you.
i am using the 3.4d version;

So, did you find a solution for your problem?
please share it !
it will help many people.

Thanks !