- public TzHClient(Access access, String tagOrURL) throws CadiException, LocatorException {
- try {
- si = SecurityInfoC.instance(access, HttpURLConnection.class);
- hman = new HMangr(access, new AAFLocator(si,new URI(access.getProperty(tagOrURL, tagOrURL))));
- } catch (URISyntaxException e) {
- throw new CadiException(e);
- }
- }
- public TzHClient(Access access, SecurityInfoC<HttpURLConnection> hsi, Locator<URI> loc) throws LocatorException {
- si = hsi;
- hman = new HMangr(access, loc);
- }
-
- public void setToken(final String client_id, TimedToken token) throws IOException {
- this.token = token;
- tokenSS = new HTokenSS(si, client_id, token.getAccessToken());
- }
+ public void setToken(final String client_id, TimedToken token) throws IOException {
+ this.token = token;
+ tokenSS = new HTokenSS(si, client_id, token.getAccessToken());
+ }