|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionDriver
A driver interface that provides an extension mechanism for TripleSec Guardian API to support various connection types such as JNDI, in-memory store, and JDBC.
| Method Summary | |
|---|---|
boolean |
accept(java.lang.String url)
Implement this method to return true if and only if this driver can connect to the specified url |
ApplicationPolicy |
newStore(java.lang.String url,
java.util.Properties info)
Implement this method to connect to the ApplicationPolicy
with the specified url and return the connected ApplicationPolicy. |
| Method Detail |
|---|
boolean accept(java.lang.String url)
url - the URL to connect to
ApplicationPolicy newStore(java.lang.String url,
java.util.Properties info)
throws GuardianException
ApplicationPolicy
with the specified url and return the connected ApplicationPolicy.
url - the URL to connect toinfo - the extra information a user specified
ApplicationPolicy
GuardianException - if failed to connect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||