Ignore:
Timestamp:
Jun 17, 2011, 10:11:20 AM (11 years ago)
Author:
robert@…
Message:

Users will be logged out from modules when logging out from GSCF now. See ticket #485

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/services/dbnp/authentication/AuthenticationService.groovy

    r1783 r1931  
    9595        return user ? user.secUser : null
    9696    }
     97       
     98        /**
     99         * Remove all remote sessions for a user
     100         * @param user
     101         */
     102        public void deleteRemoteSessions( SecUser user ) {
     103        if( user ) {
     104                        SessionAuthenticatedUser.executeUpdate("delete SessionAuthenticatedUser u where u.secUser = :secUser", [ secUser: user ])
     105        }
     106        }
    97107
    98108    /**
Note: See TracChangeset for help on using the changeset viewer.