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 TypeMethodDescriptionvoidaddRealm(AuthenticationRealm realm) Creates a new realmReturns a realm by nameReturns all defined realmsvoidremoveRealm(String name) Remove realmvoidupdateRealm(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:
WrongArgumentExceptionEngineException
-
getRealms
Returns all defined realms- Returns:
- Throws:
EngineException
-
updateRealm
Update realm- Parameters:
realm-- Throws:
EngineException
-
removeRealm
Remove realm- Parameters:
name-- Throws:
EngineException
-