@Deprecated public class JdbcApprovalStore extends Object implements ApprovalStore
Constructor and Description |
---|
JdbcApprovalStore(DataSource dataSource)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addApprovals(Collection<Approval> approvals)
Deprecated.
|
List<Approval> |
getApprovals(String userName,
String clientId)
Deprecated.
|
boolean |
purgeExpiredApprovals()
Deprecated.
|
boolean |
revokeApprovals(Collection<Approval> approvals)
Deprecated.
|
void |
setAddApprovalStatement(String addApprovalStatement)
Deprecated.
|
void |
setDeleteApprovalStatment(String deleteApprovalStatment)
Deprecated.
|
void |
setExpireApprovalStatement(String expireApprovalStatement)
Deprecated.
|
void |
setFindApprovalStatement(String findApprovalStatement)
Deprecated.
|
void |
setHandleRevocationsAsExpiry(boolean handleRevocationsAsExpiry)
Deprecated.
|
void |
setRefreshApprovalStatement(String refreshApprovalStatement)
Deprecated.
|
public JdbcApprovalStore(DataSource dataSource)
public void setHandleRevocationsAsExpiry(boolean handleRevocationsAsExpiry)
public void setAddApprovalStatement(String addApprovalStatement)
public void setFindApprovalStatement(String findApprovalStatement)
public void setDeleteApprovalStatment(String deleteApprovalStatment)
public void setExpireApprovalStatement(String expireApprovalStatement)
public void setRefreshApprovalStatement(String refreshApprovalStatement)
public boolean addApprovals(Collection<Approval> approvals)
addApprovals
in interface ApprovalStore
public boolean revokeApprovals(Collection<Approval> approvals)
revokeApprovals
in interface ApprovalStore
public boolean purgeExpiredApprovals()
public List<Approval> getApprovals(String userName, String clientId)
getApprovals
in interface ApprovalStore
Copyright © 2019. All rights reserved.