Package securesocial.core.java

Examples of securesocial.core.java.Token


        Logger.info("doDeleteExpiredTokens SecureSocial");
        DateTime now = DateTime.now();

        Iterator<Token> iterator = tokens.values().iterator();
        while (iterator.hasNext()) {
            Token token = iterator.next();

            if (now.isAfter(token.getExpirationTime())) {
                iterator.remove();
                Logger.info("Removed token [{}]", token.getUuid());
            }
        }
    }
View Full Code Here

TOP

Related Classes of securesocial.core.java.Token

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.