public class BambooRememberMeTokenDaoImpl extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements BambooRememberMeTokenDao
Constructor and Description |
---|
BambooRememberMeTokenDaoImpl(com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.seraph.service.rememberme.RememberMeToken |
findById(Long tokenId) |
List<com.atlassian.seraph.service.rememberme.RememberMeToken> |
findForUserName(String username) |
void |
remove(Long tokenId) |
void |
removeAll() |
void |
removeAllForUser(String username) |
int |
removeExpiredTokens()
Remove all expired remember me tokens.
|
com.atlassian.seraph.service.rememberme.RememberMeToken |
save(com.atlassian.seraph.service.rememberme.RememberMeToken token) |
public BambooRememberMeTokenDaoImpl(com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration)
@Nullable @Contract(value="null -> null") public com.atlassian.seraph.service.rememberme.RememberMeToken findById(@Nullable Long tokenId)
findById
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public List<com.atlassian.seraph.service.rememberme.RememberMeToken> findForUserName(@Nullable String username)
findForUserName
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void remove(@Nullable Long tokenId)
remove
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void removeAll()
removeAll
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void removeAllForUser(@Nullable String username)
removeAllForUser
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
@Nullable public com.atlassian.seraph.service.rememberme.RememberMeToken save(@Nullable com.atlassian.seraph.service.rememberme.RememberMeToken token)
save
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public int removeExpiredTokens()
BambooRememberMeTokenDao
removeExpiredTokens
in interface BambooRememberMeTokenDao
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.