abstract class AbstractUser : User, ClusterSerializable
Useful base class for implementing a User object.
This class handles the caching logic so you can concentrate on the actual authorisation logic.
Just implement the abstract methods in your concrete sub-class.
Author
Tim Fox
AbstractUser()
Useful base class for implementing a User object. This class handles the caching logic so you can concentrate on the actual authorisation logic. Just implement the abstract methods in your concrete sub-class. |
open fun clearCache(): User |
|
open fun isAuthorized(authority: String, resultHandler: Handler<AsyncResult<Boolean>>): User |
|
open fun readFromBuffer(pos: Int, buffer: Buffer): Int |
|
open fun writeToBuffer(buff: Buffer): Unit |