Exemplo n.º 1
0
 /**
  * Opens a new session with read permissions. If either applicationID or permissions is null, this
  * method will default to using the values from the associated meta-data value and an empty list
  * respectively.
  *
  * @param applicationId the applicationID, can be null
  * @param permissions the permissions list, can be null
  */
 protected final void openSessionForRead(String applicationId, List<String> permissions) {
   openSessionForRead(
       applicationId,
       permissions,
       SessionLoginBehavior.SSO_WITH_FALLBACK,
       Session.DEFAULT_AUTHORIZE_ACTIVITY_CODE);
 }
Exemplo n.º 2
0
 /**
  * Opens a new session. This method will use the application id from the associated meta-data
  * value and an empty list of permissions.
  */
 protected final void openSession() {
   openSessionForRead(null, null);
 }