public interface SecuredTokensManagement
Modifier and Type | Method and Description |
---|---|
List<pl.edu.icm.unity.base.token.Token> |
getAllTokens(String type)
User with "System Manager" authorization role can get all tokens.
|
List<pl.edu.icm.unity.base.token.Token> |
getOwnedTokens(String type)
Returns all tokens of the logged entity
|
List<pl.edu.icm.unity.base.token.Token> |
getOwnedTokens(String type,
pl.edu.icm.unity.types.basic.EntityParam entity)
User with "System Manager" authorization role can get all tokens of all entities.
|
void |
removeToken(String type,
String value)
User with "System Manager" authorization role can remove all tokens.
|
List<pl.edu.icm.unity.base.token.Token> getAllTokens(String type) throws pl.edu.icm.unity.exceptions.EngineException
type.
- If null all types will be returnpl.edu.icm.unity.exceptions.EngineException
List<pl.edu.icm.unity.base.token.Token> getOwnedTokens(String type, pl.edu.icm.unity.types.basic.EntityParam entity) throws pl.edu.icm.unity.exceptions.EngineException
type.
- If null all types will be returnentity
- pl.edu.icm.unity.exceptions.EngineException
List<pl.edu.icm.unity.base.token.Token> getOwnedTokens(String type) throws pl.edu.icm.unity.exceptions.EngineException
type.
- If null all types will be returnentity
- pl.edu.icm.unity.exceptions.EngineException
void removeToken(String type, String value) throws pl.edu.icm.unity.exceptions.EngineException
type
- value
- AuthorizationException
pl.edu.icm.unity.exceptions.EngineException
Copyright © 2018 Unity. All rights reserved.