[jboss-jira] [JBoss JIRA] (JBCOMMON-131) Setting cache timeout for JAAS under jboss-eap-6.1 does not work

Artur Mioduszewski (JIRA) jira-events at lists.jboss.org
Wed Nov 6 14:00:02 EST 2013


    [ https://issues.jboss.org/browse/JBCOMMON-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12851164#comment-12851164 ] 

Artur Mioduszewski edited comment on JBCOMMON-131 at 11/6/13 1:59 PM:
----------------------------------------------------------------------

Dimitris, why you cannot assign issue to proper project instead of closing it ? Rejecting an issue does not solve it ...  
I don't know which exact project this issue is related to. Could you move this issue to "JBoss Enterprise Application Platform" project (I have no such privilage) ?
                
      was (Author: kliczko):
    Dimitris, why you cannot assign issue to proper project instead of closing it ? Rejecting an issue does not solve it ...  
I don't know which exact project this issue is related to. Could you assign this issue to "JBoss Enterprise Application Platform" project (I have no such privilage) ?
                  
> Setting cache timeout for JAAS under jboss-eap-6.1 does not work
> ----------------------------------------------------------------
>
>                 Key: JBCOMMON-131
>                 URL: https://issues.jboss.org/browse/JBCOMMON-131
>             Project: JBoss Common
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>         Environment: jboss-eap-6.1
>            Reporter: Artur Mioduszewski
>            Assignee: Dimitris Andreadis
>
> When: cache-type="default"  in  security-domain configuration -> authentication works correctly.
> When I have used below configuration in order to try to set cache timeout in JAAS  -> JAAS authentication stops to work - I am not able to log in (on JBoss console there are not any errors)
> <code>
> ...
> <security-domain name="myJaasDomain" cache-type="infinispan">
>                     <authentication>
>                         <login-module code="Database" flag="required">
>                             <module-option name="dsJndiName" value="java:jboss/datasources/digital-signal-service-dev-ws-DS"/>
>                             <module-option name="principalsQuery" value="SELECT l.PASSWORD FROM LOGIN l WHERE l.USERNAME=?"/>
>                             <module-option name="rolesQuery" value="SELECT ar.NAME, 'Roles'                      FROM login l,                    login_access_group lg,                    access_group g,                    access_group_s_access_right ga,                    s_access_right ar                    WHERE                      l.username = ?                      AND l.id = lg.login_ID                     AND lg.groups_ID = g.id                     AND g.ID = ga.access_group_ID                     AND ga.accessRights_ID = ar.ID"/>
>                             <module-option name="hashAlgorithm" value="MD5"/>
>                             <module-option name="hashEncoding" value="base64"/>
>                             <module-option name="unauthenticatedIdentity" value="guest"/>
>                         </login-module>
>                     </authentication>
>                 </security-domain>
> ...
> <subsystem xmlns="urn:jboss:domain:infinispan:1.2" default-cache-container="web">
>             <cache-container name="cluster" aliases="ha-partition" default-cache="default">
>                 <transport lock-timeout="60000"/>
>                 <replicated-cache name="default" mode="SYNC" batching="true">
>                     <locking isolation="REPEATABLE_READ"/>
>                 </replicated-cache>
>             </cache-container>
>             <cache-container name="web" aliases="standard-session-cache" default-cache="repl">
>                 <transport lock-timeout="60000"/>
>                 <replicated-cache name="repl" mode="ASYNC" batching="true">
>                     <file-store/>
>                 </replicated-cache>
>                 <replicated-cache name="sso" mode="SYNC" batching="true"/>
>                 <distributed-cache name="dist" mode="ASYNC" batching="true">
>                     <file-store/>
>                 </distributed-cache>
>             </cache-container>
>             <cache-container name="ejb" aliases="sfsb sfsb-cache" default-cache="repl">
>                 <transport lock-timeout="60000"/>
>                 <replicated-cache name="repl" mode="ASYNC" batching="true">
>                     <file-store/>
>                 </replicated-cache>
>                 <replicated-cache name="remote-connector-client-mappings" mode="SYNC" batching="true"/>
>                 <distributed-cache name="dist" mode="ASYNC" batching="true">
>                     <file-store/>
>                 </distributed-cache>
>             </cache-container>
>             <cache-container name="hibernate" default-cache="local-query">
>                 <transport lock-timeout="60000"/>
>                 <local-cache name="local-query">
>                     <transaction mode="NONE"/>
>                     <expiration max-idle="100000"/>
>                 </local-cache>
>                 <invalidation-cache name="entity" mode="SYNC">
>                     <transaction mode="NON_XA"/>
>                     <expiration max-idle="100000"/>
>                 </invalidation-cache>
>                 <replicated-cache name="timestamps" mode="ASYNC">
>                     <transaction mode="NONE"/>
>                 </replicated-cache>
>             </cache-container>
>         </subsystem>
> ...
> <code>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list