public class GenericTokenTableFactory extends Object implements TokenTableFactory
| Constructor and Description |
|---|
GenericTokenTableFactory() |
| Modifier and Type | Method and Description |
|---|---|
PreparedStatement |
createTable(Connection connection,
TokenSchema schema)
Creates a PreparedStatement that allows for the creation of the table to store tracking token entries.
|
protected String |
tokenType()
Returns the sql to describe the type of token column.
|
public PreparedStatement createTable(Connection connection, TokenSchema schema) throws SQLException
TokenTableFactorycreateTable in interface TokenTableFactoryconnection - The connection to create the PreparedStatement forschema - The token schema with the name of the table and its columnsSQLException - when an exception occurs while creating the prepared statementprotected String tokenType()
Copyright © 2010–2018. All rights reserved.