Class SuperUserAuthSchemeService
java.lang.Object
dev.getelements.elements.service.auth.SuperUserAuthSchemeService
- All Implemented Interfaces:
AuthSchemeService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAuthScheme(CreateAuthSchemeRequest authSchemeRequest) Creates anAuthSchemevoiddeleteAuthScheme(String authSchemeId) Deletes theAuthSchemewith the supplied auth scheme ID.getAuthScheme(String authSchemeId) Fetches a specificAuthSchemeinstance based on ID.getAuthSchemes(int offset, int count, List<String> tags) Lists allAuthSchemeinstancesvoidsetAuthSchemeDao(AuthSchemeDao authSchemeDao) voidsetCryptoKeyUtility(CryptoKeyPairUtility cryptoKeyPairUtility) voidsetJwtCryptoUtility(CryptoKeyPairUtility cryptoKeyPairUtility) voidsetValidationHelper(ValidationHelper validationHelper) updateAuthScheme(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Updates the suppliedAuthScheme
-
Constructor Details
-
SuperUserAuthSchemeService
public SuperUserAuthSchemeService()
-
-
Method Details
-
getAuthSchemes
Description copied from interface:AuthSchemeServiceLists allAuthSchemeinstances- Specified by:
getAuthSchemesin interfaceAuthSchemeService- Parameters:
offset-count-tags-- Returns:
- a
PaginationofAuthSchemeinstances
-
getAuthScheme
Description copied from interface:AuthSchemeServiceFetches a specificAuthSchemeinstance based on ID. If not found, an exception is raised.- Specified by:
getAuthSchemein interfaceAuthSchemeService- Parameters:
authSchemeId- the auth scheme ID- Returns:
- the
AuthScheme, never null
-
createAuthScheme
Description copied from interface:AuthSchemeServiceCreates anAuthScheme- Specified by:
createAuthSchemein interfaceAuthSchemeService- Parameters:
authSchemeRequest- theCreateAuthSchemeRequestwith the information to create the authScheme- Returns:
- a
CreateAuthSchemeResponseas it was created
-
updateAuthScheme
public UpdateAuthSchemeResponse updateAuthScheme(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Description copied from interface:AuthSchemeServiceUpdates the suppliedAuthScheme- Specified by:
updateAuthSchemein interfaceAuthSchemeService- Parameters:
authSchemeId-authSchemeRequest- theUpdateAuthSchemeRequestwith the information to update the authScheme- Returns:
- a
UpdateAuthSchemeResponseas it was created
-
deleteAuthScheme
Description copied from interface:AuthSchemeServiceDeletes theAuthSchemewith the supplied auth scheme ID.- Specified by:
deleteAuthSchemein interfaceAuthSchemeService- Parameters:
authSchemeId- the auth scheme ID.
-
getAuthSchemeDao
-
setAuthSchemeDao
-
getJwtCryptoUtility
-
setJwtCryptoUtility
-
getCryptoKeyUtility
-
setCryptoKeyUtility
-
getValidationHelper
-
setValidationHelper
-