org.openid4java.consumer
Class JdbcConsumerAssociationStore
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.jdbc.core.support.JdbcDaoSupport
org.openid4java.consumer.JdbcConsumerAssociationStore
- All Implemented Interfaces:
- ConsumerAssociationStore, org.springframework.beans.factory.InitializingBean
public class JdbcConsumerAssociationStore
- extends org.springframework.jdbc.core.support.JdbcDaoSupport
- implements ConsumerAssociationStore
The specified table must have the following structure:
- opurl : string
- handle : string : primary key
- type : string
- mackey : string
- expdate : date
- Author:
- Andrew Evenson, Graff Haley
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class org.springframework.jdbc.core.support.JdbcDaoSupport |
checkDaoConfig, createJdbcTemplate, getConnection, getDataSource, getExceptionTranslator, getJdbcTemplate, initTemplateConfig, releaseConnection, setDataSource, setJdbcTemplate |
Methods inherited from class org.springframework.dao.support.DaoSupport |
afterPropertiesSet, initDao |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbcConsumerAssociationStore
public JdbcConsumerAssociationStore()
JdbcConsumerAssociationStore
public JdbcConsumerAssociationStore(java.lang.String tableName)
getTableName
public java.lang.String getTableName()
setTableName
public void setTableName(java.lang.String tableName)
load
public Association load(java.lang.String opUrl,
java.lang.String handle)
- Specified by:
load
in interface ConsumerAssociationStore
load
public Association load(java.lang.String opUrl)
- Specified by:
load
in interface ConsumerAssociationStore
remove
public void remove(java.lang.String opUrl,
java.lang.String handle)
- Specified by:
remove
in interface ConsumerAssociationStore
save
public void save(java.lang.String opUrl,
Association association)
- Specified by:
save
in interface ConsumerAssociationStore
Copyright © 2011 Sxip. All Rights Reserved.