public class DefaultConfluenceRememberMeTokenDao extends Object implements ConfluenceRememberMeTokenDao
Constructor and Description |
---|
DefaultConfluenceRememberMeTokenDao(org.hibernate.SessionFactory sessionFactory,
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) |
void |
removeExpiredTokens()
Remove all expired remember me tokens.
|
com.atlassian.seraph.service.rememberme.RememberMeToken |
save(com.atlassian.seraph.service.rememberme.RememberMeToken token) |
public DefaultConfluenceRememberMeTokenDao(org.hibernate.SessionFactory sessionFactory, 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
Copyright © 2003–2019 Atlassian. All rights reserved.