public interface SessionFactory
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSession(SessionImpl session)
Adds a session to the set.
|
Remote |
export()
Exports this.
|
Config |
getConfig()
Gets the configuration.
|
String[] |
getMappedRoles(String requiredRole)
Gets the mapped roles for a required role.
|
Optional<Realm> |
getRealm()
Gets the realm configuration.
|
boolean |
hasRolesMap()
Asks if this has a roles map.
|
boolean |
removeSession(SessionImpl session)
Removes a session from the set.
|
void |
unexport()
Unexports this.
|
@CheckReturnValue
boolean addSession(@Nonnull
SessionImpl session)
session - The session.@Nonnull
@CheckReturnValue
Remote export()
throws RemoteException
RemoteException - When the export operation fails.@Nonnull @CheckReturnValue Config getConfig()
@Nonnull @CheckReturnValue String[] getMappedRoles(String requiredRole)
requiredRole - The required role.@Nonnull @CheckReturnValue Optional<Realm> getRealm()
@CheckReturnValue boolean hasRolesMap()
@CheckReturnValue boolean removeSession(SessionImpl session)
session - The session.void unexport()
throws NoSuchObjectException
NoSuchObjectException - When the unexport operation fails.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.