Package pl.edu.icm.unity.engine.api
Interface RealmsManagement
public interface RealmsManagement
Authentication realm is a group of endpoints which share the same authentication context:
in the first place login session. Also other artifacts can have realm scope, for instance
the transient identities.
- Author:
- K. Benedyczak
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRealm
(AuthenticationRealm realm) Creates a new realmReturns a realm by nameReturns all defined realmsvoid
removeRealm
(String name) Remove realmvoid
updateRealm
(AuthenticationRealm realm) Update realm
-
Method Details
-
addRealm
Creates a new realm- Parameters:
realm
-- Throws:
EngineException
-
getRealm
Returns a realm by name- Parameters:
name
-- Returns:
- Throws:
WrongArgumentException
EngineException
-
getRealms
Returns all defined realms- Returns:
- Throws:
EngineException
-
updateRealm
Update realm- Parameters:
realm
-- Throws:
EngineException
-
removeRealm
Remove realm- Parameters:
name
-- Throws:
EngineException
-