geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leonard Flournoy <flour...@us.ibm.com>
Subject Deployment problem
Date Thu, 30 Jun 2005 23:26:46 GMT
Hello all I hope you can assist me with this problem, i am trying to 
deploy gps on gluecode-se but I recieve this error:










Unknown attribute loginModuleConfiguration on 
gluecode-se.server:J2EEApplication=null,J2EEModule=com/gluecode/se/gps,J2EEServer=gluecode-se,j2eeType=SecurityRealm,name=gps-application-realm




Here is my deployment discriptor:

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://geronimo.apache.org/xml/ns/web/jetty" 
    configId="com/gluecode/se/gps" 
    parentId="com/gluecode/se/Standard/1.1">

    <dependency>
        <uri>gluecode-portal/jars/pluto-container-GLUECODESE-1.0.jar</uri>
    </dependency>
    <dependency>
        <uri>dom4j/jars/dom4j-1.5-rc1.jar</uri>
    </dependency>
    <dependency>
        <uri>jetspeed2/jars/jetspeed-api-2.0-M1.jar</uri>
    </dependency>
    <dependency>
        <uri>jetspeed2/jars/jetspeed-commons-2.0-M1.jar</uri>
    </dependency>
    <dependency>
        <uri>portals-bridges/jars/portals-bridges-common-0.1.jar</uri>
    </dependency>


    <context-root>/gluecode</context-root>
    <context-priority-classloader>false</context-priority-classloader>
    <security-realm-name>gps-application-realm</security-realm-name>
 
    <security>
            <default-principal realm-name="gps-application-realm">
            <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoUserPrincipal" 
name="admin"/>
        </default-principal>
        <role-mappings>
            <role role-name="admin">
                <realm realm-name="gps-application-realm">
                    <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" 
name="admin" designated-run-as="true"/>
                </realm>
            </role>
            <role role-name="global-admin">
                <realm realm-name="gps-application-realm">
                    <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" 
name="global-admin" designated-run-as="true"/>
                </realm>
            </role>
            <role role-name="bpp-admin">
                <realm realm-name="gps-application-realm">
                    <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" 
name="bpp-admin" designated-run-as="true"/>
                </realm>
            </role>
            <role role-name="user">
                <realm realm-name="gps-application-realm">
                    <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" 
name="user" designated-run-as="true"/>
                </realm>
            </role>
            <role role-name="customizer">
                <realm realm-name="gps-application-realm">
                    <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" 
name="customizer" designated-run-as="true"/>
                </realm>
            </role>
            <role role-name="guest">
                <realm realm-name="gps-application-realm">
                    <principal 
class="org.apache.geronimo.security.realm.providers.GeronimoGroupPrincipal" 
name="guest" designated-run-as="true"/>
                </realm>
            </role>
        </role-mappings>
    </security> 

    <resource-ref xmlns="http://geronimo.apache.org/xml/ns/naming">
        <ref-name>jdbc/jetspeed</ref-name>
        <resource-link>GPSDatasource</resource-link>
    </resource-ref>

        <!-- Security implementation -->
    <gbean name="gps-application-login" 
class="org.apache.geronimo.security.jaas.LoginModuleGBean">
        <attribute 
name="loginModuleClass">org.apache.geronimo.security.realm.providers.SQLLoginModule</attribute>
        <attribute name="serverSide">true</attribute>
        <attribute name="options">
            userSelect=SELECT LOGIN_NAME, PASSWORD_VALUE FROM TURBINE_USER
                    groupSelect=SELECT distinct tr.role_name,tu.login_name 
FROM turbine_user tu,turbine_role tr,turbine_user_group_role tgr WHERE 
tu.user_id=tgr.user_id AND tr.role_id=tgr.role_id
            jdbcURL=jdbc:hsqldb:hsql://localhost:8888
                    jdbcUser=sa
                    jdbcPassword=
                    jdbcDriver=org.hsqldb.jdbcDriver
        </attribute>
        <attribute 
name="loginDomainName">gps-application-realm</attribute>
    </gbean>

    <gbean name="gps-application-realm" 
class="org.apache.geronimo.security.realm.GenericSecurityRealm">
        <attribute name="realmName">gps-application-realm</attribute>
        <attribute name="loginModuleConfiguration">
 
LoginModule.1.REQUIRED=gluecode-se.server:J2EEApplication=null,J2EEModule=com/gluecode/se/gps,J2EEServer=gluecode-se,j2eeType=LoginModule,name=gps-application-login
        </attribute>
        <reference 
name="ServerInfo"><gbean-name>.server:J2EEApplication=null,J2EEModule=com/gluecode/se/System/1.1,J2EEServer=gluecode-se,j2eeType=GBean,name=ServerInfo</gbean-name></reference>
    </gbean>

    <gbean name="gpsJAAS" 
class="org.apache.geronimo.security.jaas.ServerRealmConfigurationEntry">
        <attribute name="applicationConfigName">gpsJAAS</attribute>
        <attribute name="realmName">gps-application-realm</attribute>
    </gbean>
    <!-- End of Security Implementation -->
</web-app>




Any suggestions -
Mime
View raw message