Skip to content

Commit 9718d60

Browse files
committed
Javadoc.
1 parent 5fbe162 commit 9718d60

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

hub/src/main/java/ch/iterate/hub/protocols/hub/HubSession.java

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,20 +51,35 @@
5151
import com.auth0.jwt.exceptions.JWTDecodeException;
5252

5353
/**
54-
* Providing Katta Server API client for accessing the Hub REST API
54+
* Providing Katta Server client for accessing its REST API
5555
*/
5656
public class HubSession extends HttpSession<HubApiClient> {
5757
private static final Logger log = LogManager.getLogger(HubSession.class);
5858

59+
/**
60+
* Key in bookmark to reference UUID of configuration from API
61+
*/
5962
public static final String HUB_UUID = "hub.uuid";
6063

64+
/**
65+
* Read storage configurations from API
66+
*/
6167
private final Scheduler<?> profiles = new HubStorageProfileSyncSchedulerService(this);
68+
/**
69+
* Read available vaults from API
70+
*/
6271
private final Scheduler<?> vaults = new HubStorageVaultSyncSchedulerService(this);
72+
/**
73+
* Periodically grant vault access to users
74+
*/
6375
private final Scheduler<?> access = new HubGrantAccessSchedulerService(this);
6476

6577
private final Scheduler<?> scheduler = new HubSchedulerService(Duration.ofSeconds(
6678
new HostPreferences(host).getLong("hub.protocol.scheduler.period")).toMillis(), profiles, vaults, access);
6779

80+
/**
81+
* Interceptor for OpenID connect flow
82+
*/
6883
private OAuth2RequestInterceptor authorizationService;
6984

7085
public HubSession(final Host host, final X509TrustManager trust, final X509KeyManager key) {

0 commit comments

Comments
 (0)