Class DefaultExpirableUserTokenService
java.lang.Object
com.atlassian.crowd.service.token.DefaultExpirableUserTokenService
- All Implemented Interfaces:
ExpirableUserTokenService
@Transactional
public class DefaultExpirableUserTokenService
extends Object
implements ExpirableUserTokenService
Default implementation of
ExpirableUserTokenService
backed by a storage DAO.- Since:
- v2.8
-
Constructor Summary
ConstructorDescriptionDefaultExpirableUserTokenService
(ExpirableUserTokenDao expirableUserTokenDao) -
Method Summary
Modifier and TypeMethodDescriptionboolean
removeExpiredTokens
(Date expiryDate) Remove all tokens which have expired as of the given date
-
Constructor Details
-
DefaultExpirableUserTokenService
-
-
Method Details
-
removeExpiredTokens
Description copied from interface:ExpirableUserTokenService
Remove all tokens which have expired as of the given date- Specified by:
removeExpiredTokens
in interfaceExpirableUserTokenService
- Parameters:
expiryDate
- Effective expiry date to enforce- Returns:
- true if any tokens were deleted, false otherwise
-