Ignore:
Timestamp:
Feb 28, 2011, 6:04:45 PM (9 years ago)
Author:
robert@…
Message:

Resolved problems with module communication

File:
1 edited

Legend:

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

    r1455 r1577  
    4444     */
    4545    public boolean logInRemotely( String consumer, String token, SecUser user ) {
    46         // Make sure there is no other logged in user anymore
     46                // Remove expired users, otherwise they will be kept in the database forever
     47                removeExpiredTokens()
     48
     49                // Make sure there is no other logged in user anymore
    4750        logOffRemotely( consumer, token )
    4851
     
    6871     */
    6972    public boolean isRemotelyLoggedIn( String consumer, String token ) {
    70         // Remove expired users, otherwise they will be kept in the database forever
    71         removeExpiredTokens()
    72 
    7373        // Check whether a user exists
    7474        def user = getSessionAuthenticatedUser(consumer, token)
     
    9090     */
    9191    public SecUser getRemotelyLoggedInUser( String consumer, String token ) {
    92         // Remove expired users, otherwise they will be kept in the database forever
    93         removeExpiredTokens()
    94 
    9592        // Check whether a user exists
    9693        def user = getSessionAuthenticatedUser(consumer, token)
Note: See TracChangeset for help on using the changeset viewer.