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 |
---|---|
@Nullable com.atlassian.seraph.service.rememberme.RememberMeToken |
findById(@Nullable Long tokenId) |
List<com.atlassian.seraph.service.rememberme.RememberMeToken> |
findForUserName(@Nullable String username) |
void |
remove(@Nullable Long tokenId) |
void |
removeAll() |
void |
removeAllForUser(@Nullable String username) |
int |
removeExpiredTokens()
Remove all expired remember me tokens.
|
@Nullable com.atlassian.seraph.service.rememberme.RememberMeToken |
save(@Nullable com.atlassian.seraph.service.rememberme.RememberMeToken token) |
public BambooRememberMeTokenDaoImpl(com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration)
@Nullable @Contract(value="null -> null") public @Nullable com.atlassian.seraph.service.rememberme.RememberMeToken findById(@Nullable @Nullable Long tokenId)
findById
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public List<com.atlassian.seraph.service.rememberme.RememberMeToken> findForUserName(@Nullable @Nullable String username)
findForUserName
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void remove(@Nullable @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 @Nullable String username)
removeAllForUser
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
@Nullable public @Nullable com.atlassian.seraph.service.rememberme.RememberMeToken save(@Nullable @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.