public class DefaultConfluenceRememberMeTokenDao extends org.springframework.orm.hibernate5.support.HibernateDaoSupport implements ConfluenceRememberMeTokenDao
Constructor and Description |
---|
DefaultConfluenceRememberMeTokenDao() |
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) |
void |
removeExpiredTokens()
Remove all expired remember me tokens.
|
com.atlassian.seraph.service.rememberme.RememberMeToken |
save(com.atlassian.seraph.service.rememberme.RememberMeToken token) |
void |
setRememberMeConfig(com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration) |
public com.atlassian.seraph.service.rememberme.RememberMeToken findById(Long tokenId)
findById
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public List<com.atlassian.seraph.service.rememberme.RememberMeToken> findForUserName(String username)
findForUserName
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void remove(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(String username)
removeAllForUser
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public com.atlassian.seraph.service.rememberme.RememberMeToken save(com.atlassian.seraph.service.rememberme.RememberMeToken token)
save
in interface com.atlassian.seraph.spi.rememberme.RememberMeTokenDao
public void removeExpiredTokens()
ConfluenceRememberMeTokenDao
removeExpiredTokens
in interface ConfluenceRememberMeTokenDao
public void setRememberMeConfig(com.atlassian.seraph.spi.rememberme.RememberMeConfiguration rememberMeConfiguration)
Copyright © 2003–2017 Atlassian. All rights reserved.