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 anAuthScheme
void
deleteAuthScheme
(String authSchemeId) Deletes theAuthScheme
with the supplied auth scheme ID.getAuthScheme
(String authSchemeId) Fetches a specificAuthScheme
instance based on ID.getAuthSchemes
(int offset, int count, List<String> tags) Lists allAuthScheme
instancesvoid
setAuthSchemeDao
(AuthSchemeDao authSchemeDao) void
setCryptoKeyUtility
(CryptoKeyPairUtility cryptoKeyPairUtility) void
setJwtCryptoUtility
(CryptoKeyPairUtility cryptoKeyPairUtility) void
setValidationHelper
(ValidationHelper validationHelper) updateAuthScheme
(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Updates the suppliedAuthScheme
-
Constructor Details
-
SuperUserAuthSchemeService
public SuperUserAuthSchemeService()
-
-
Method Details
-
getAuthSchemes
Description copied from interface:AuthSchemeService
Lists allAuthScheme
instances- Specified by:
getAuthSchemes
in interfaceAuthSchemeService
- Parameters:
offset
-count
-tags
-- Returns:
- a
Pagination
ofAuthScheme
instances
-
getAuthScheme
Description copied from interface:AuthSchemeService
Fetches a specificAuthScheme
instance based on ID. If not found, an exception is raised.- Specified by:
getAuthScheme
in interfaceAuthSchemeService
- Parameters:
authSchemeId
- the auth scheme ID- Returns:
- the
AuthScheme
, never null
-
createAuthScheme
Description copied from interface:AuthSchemeService
Creates anAuthScheme
- Specified by:
createAuthScheme
in interfaceAuthSchemeService
- Parameters:
authSchemeRequest
- theCreateAuthSchemeRequest
with the information to create the authScheme- Returns:
- a
CreateAuthSchemeResponse
as it was created
-
updateAuthScheme
public UpdateAuthSchemeResponse updateAuthScheme(String authSchemeId, UpdateAuthSchemeRequest authSchemeRequest) Description copied from interface:AuthSchemeService
Updates the suppliedAuthScheme
- Specified by:
updateAuthScheme
in interfaceAuthSchemeService
- Parameters:
authSchemeId
-authSchemeRequest
- theUpdateAuthSchemeRequest
with the information to update the authScheme- Returns:
- a
UpdateAuthSchemeResponse
as it was created
-
deleteAuthScheme
Description copied from interface:AuthSchemeService
Deletes theAuthScheme
with the supplied auth scheme ID.- Specified by:
deleteAuthScheme
in interfaceAuthSchemeService
- Parameters:
authSchemeId
- the auth scheme ID.
-
getAuthSchemeDao
-
setAuthSchemeDao
-
getJwtCryptoUtility
-
setJwtCryptoUtility
-
getCryptoKeyUtility
-
setCryptoKeyUtility
-
getValidationHelper
-
setValidationHelper
-