[rules-users] Deployment on websphere

Stephen Masters stephen.masters at me.com
Thu May 30 09:43:52 EDT 2013


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"?>
<components xmlns="http://jboss.com/products/seam/components"
    xmlns:core="http://jboss.com/products/seam/core" xmlns:security="http://jboss.com/products/seam/security"
    xmlns:web="http://jboss.com/products/seam/web" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:transaction="http://jboss.com/products/seam/transaction"
    xsi:schemaLocation="http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd
                 http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd
                 http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd
                 http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd
                 http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd">


    <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 at 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 at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130530/50fbb7c5/attachment-0001.html 


More information about the rules-users mailing list