Generated by
JDiff

Interface org.cyclos.impl.access.SessionHandler

Removed Methods
int remove(Collection<String>) Removes (both from the shared map and from the database) sessions with the given tokens, returning the number of actually deleted sessions
 

Added Methods
OidcAccessToken checkOidcAccessToken(Network, String, String) Checks the access for a user for a network using the specified OAuth2 / OpenID Connect access token.
void clearPinCreationToken(Session) Removes the PIN creation token for the given session, if any
String getPinCreationToken(Session) Returns the token that can be used to create a device PIN without informing the current password / PIN.
boolean remove(Session) Removes (both from the shared map and from the database) the given session, returning true if was actually removed
int remove(Collection<String>) Removes (both from the shared map and from the database) sessions with the given tokens, returning the number of actually deleted sessions
void setProperties(Session, SessionProperties) Updates the properties of the given session
 

Changed Methods
UserCheckResult checkUserAccess(boolean, boolean, Network, String, String, UserLocatorVO, String, Set<Group>) Change in signature from (boolean, boolean, Network, String, String, UserLocatorVO, String) to (boolean, boolean, Network, String, String, UserLocatorVO, String, Set<Group>).
Checks the access for a user for a channel / network
Session create(CreateSessionParameters) Documentation changed from old to new.
Creates a new session according to the given session data and timeout.
See the Javadoc for LoginServiceLocal.doLogin(TimeInterval, Long, Long, String, String).
boolean invalidate(String, String) Documentation changed from old to new.
Invalidates the session with the given token, under the given remote address, returning whether the sessions was actually invalidated.
Session login(String, String, TimeInterval, UserLocatorVO, String, Set<Group>) Change in signature from (String, String, TimeInterval, UserLocatorVO, String) to (String, String, TimeInterval, UserLocatorVO, String, Set<Group>).
Documentation changed from old to new.
Performs a login.
 

Added Fields
String ATTR_PRINCIPAL Script attribute: the UserPrincipal
String ATTR_SESSION_PROPERTIES Script attribute: the updated session properties