[jboss-jira] [JBoss JIRA] Commented: (JBAS-5078) Validate SRP Configuration

Stefan Guilhen (JIRA) jira-events at lists.jboss.org
Thu Sep 25 09:47:21 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBAS-5078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12431180#action_12431180 ] 

Stefan Guilhen commented on JBAS-5078:
--------------------------------------

Yes, there are customizations. Here is what jboss.xml has:

<jboss>
   <security-domain>java:/jaas/srp-test</security-domain>

   <enterprise-beans>
      <session>
         <ejb-name>StatelessSessionJCE</ejb-name>
         <configuration-name>SRP Stateless SessionBean</configuration-name>
         <invoker-bindings>
            <invoker>
               <invoker-proxy-binding-name>stateless-jce-invoker</invoker-proxy-binding-name>
               <jndi-name>srp-jce.StatelessSession</jndi-name>
            </invoker>
         </invoker-bindings>
      </session>
      <session>
         <ejb-name>StatelessSession</ejb-name>
         <jndi-name>srp.StatelessSession</jndi-name>
      </session>
   </enterprise-beans>

   <invoker-proxy-bindings>
      <invoker-proxy-binding>
         <name>stateless-jce-invoker</name>
         <invoker-mbean>jboss:service=invoker,type=jrmp</invoker-mbean>
         <proxy-factory>org.jboss.proxy.ejb.ProxyFactory</proxy-factory>
         <proxy-factory-config>
            <client-interceptors>
               <home>
                  <interceptor>org.jboss.proxy.ejb.HomeInterceptor</interceptor>
                  <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
                  <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
               </home>
               <!-- Override the client bean interceptors -->
               <bean>
                  <interceptor>org.jboss.proxy.ejb.EntityInterceptor</interceptor>
                  <interceptor>org.jboss.proxy.SecurityInterceptor</interceptor>
                  <interceptor>org.jboss.test.security.interceptors.ClientEncryptionInterceptor</interceptor>
                  <interceptor>org.jboss.proxy.TransactionInterceptor</interceptor>
                  <interceptor>org.jboss.invocation.InvokerInterceptor</interceptor>
               </bean>
            </client-interceptors>
         </proxy-factory-config>
      </invoker-proxy-binding>
   </invoker-proxy-bindings>

   <container-configurations>
      <container-configuration extends="Standard Stateless SessionBean">
         <container-name>SRP Stateless SessionBean</container-name>
         <!-- Override the CMT server interceptors -->
         <container-interceptors>
            <interceptor>org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor</interceptor>
            <interceptor>org.jboss.ejb.plugins.LogInterceptor</interceptor>
            <interceptor>org.jboss.ejb.plugins.SecurityInterceptor</interceptor>
            <interceptor>org.jboss.test.security.interceptors.ServerEncryptionInterceptor</interceptor>
            <interceptor>org.jboss.ejb.plugins.TxInterceptorCMT</interceptor>
            <interceptor>org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor</interceptor>
         </container-interceptors>
      </container-configuration>
   </container-configurations>

</jboss>

I'm guessing this <container-configuration> is missing the PresecurityInterceptor?

> Validate SRP Configuration
> --------------------------
>
>                 Key: JBAS-5078
>                 URL: https://jira.jboss.org/jira/browse/JBAS-5078
>             Project: JBoss Application Server
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Security, Test Suite
>    Affects Versions: JBossAS-5.0.0.Beta2
>            Reporter: Anil Saldhana
>            Assignee: Stefan Guilhen
>             Fix For: JBossAS-5.0.0.GA
>
>
> Validate the SRP Configuration for AS5.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list