Sorry … talking nonsense here. It's the other way around. Ignore me. :-/


On 30 May 2013, at 14:43, Stephen Masters <stephen.masters@me.com> wrote:

Erm … something seems wrong here.

If you're using 5.5.0.Final, then there should be no "beans.xml" in your WEB-INF directory.

5.5 uses Seam 3, which is configured with a "components.xml" file. Below is a copy of mine with logins disabled.

Steve



<?xml version="1.0" encoding="UTF-8"?>


    <core:init transaction-management-enabled="false" />
    <transaction:no-transaction />

    <component name="repositoryConfiguration">

        <!-- JackRabbit  -->
        
        <property name="properties">
            <key>org.drools.repository.configurator</key><value>org.drools.repository.jackrabbit.JackrabbitRepositoryConfigurator</value>
            <!--  the root directory for the repo storage the directory must exist. -->
            <!--  <key>repository.root.directory</key><value>/opt/yourpath</value>  -->
        </property>

        <!-- ModeShape 
            passwords for the background users (admin and mailman), these need to match the setting
            you provided for JAAS (used by ModeShape only). 
            <property name="properties">
                <key>org.drools.repository.configurator</key>    <value>org.drools.repository.modeshape.ModeShapeRepositoryConfigurator</value>
                <key>org.modeshape.jcr.URL</key>                 <value>jndi:jcr/local?repositoryName=brms</value>
                <key>org.drools.repository.secure.passwords</key><value>false</value>
                <key>org.drools.repository.admin.password</key>  <value>admin</value>
                <key>org.drools.repository.mailman.password</key><value>mailman</value>   
            </property> 
            -->
        
    </component>

    <!-- SECURITY IDENTITY CONFIGURATION -->

    <!--
        default (will take any username, useful if you want to keep track of
        users but not authenticate
    
    <security:identity authenticate-method="#{defaultAuthenticator.authenticate}" />
    -->

    <!--
        NO authentication. This will bypass the login screen when you hit the
        app. Everyone is "guest"
    -->
        <security:identity
        authenticate-method="#{nilAuthenticator.authenticate}"/>

    <!--
        FOR EXAMPLE: the following one will use the jaas configuration called
        "other" - which in jboss AS means you can use properties files for
        users:
    
        <security:identity authenticate-method="#{authenticator.authenticate}"
        jaas-config-name="other"/>
    -->
    <!--
        as JAAS is used you can use container specific ones to link up to your
        login services, eg LDAP/AD etc
    -->

    <!-- SECURITY AUTHORIZATION CONFIGURATION -->
    <!--
        This is used to enable or disable role-based authorization. By default
        it is disabled.
    -->
    <component name="org.jboss.seam.security.roleBasedPermissionResolver">
        <property name="enableRoleBasedAuthorization">false</property>
    </component>

</components>



On 30 May 2013, at 14:00, drdaveg <drdaveg@gmail.com> wrote:

Sure! I  believe this is the all from the exploded 5.5 Guvnor war:

guvnor\WEB-INF\lib\seam-security-3.1.0.Final.jar
guvnor\WEB-INF\lib\seam-security-api-3.1.0.Final.jar

and the /WEB-INF/beans.xml:





--
View this message in context: http://drools.46999.n3.nabble.com/Deployment-on-websphere-tp4023800p4024028.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users