Class JDBCTokenRequester
- java.lang.Object
-
- org.silverpeas.mobile.server.dao.token.JDBCTokenRequester
-
@Singleton public class JDBCTokenRequester extends Object
- Author:
- svu
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JDBCTokenRequester()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getTokens(Connection con, String userId)
void
removeToken(Connection con, String userId, String token)
void
saveToken(Connection con, String userId, String token)
-
-
-
Method Detail
-
saveToken
public void saveToken(Connection con, String userId, String token) throws SQLException
- Throws:
SQLException
-
getTokens
public List<String> getTokens(Connection con, String userId) throws SQLException
- Throws:
SQLException
-
removeToken
public void removeToken(Connection con, String userId, String token) throws SQLException
- Throws:
SQLException
-
-