public interface SessionListener
The session listener will receive events from the security framework. The
opened(Session) method will be called once (and only once) the users
ID has been verified.
All granted and revoked permissions may be notified using the
permissionsChanged(Set, Set) method. This method may only be called
after the #authenticated(String) method was called and
returned.
If the user cannot be verified, or has no permission to connect, the method
closed(Throwable) must be called once. The method may be called
directly or after the opened(Session) method was already called.
However after the closed(Throwable) method was called, no more
methods on this interface must be called, including the
closed(Throwable) method.
| Modifier and Type | Method and Description |
|---|---|
void |
closed(Throwable e) |
void |
opened(Session session) |
void |
permissionsChanged(Set<String> added,
Set<String> removed) |
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.