Class ResourceProfileIdentificationMethod
java.lang.Object
dev.getelements.elements.appnode.security.ResourceProfileIdentificationMethod
- All Implemented Interfaces:
ProfileIdentificationMethod
public class ResourceProfileIdentificationMethod
extends Object
implements ProfileIdentificationMethod
-
Field Summary
Fields inherited from interface dev.getelements.elements.sdk.model.security.ProfileIdentificationMethod
UNIDENTIFIED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattempt()Attempts to identify the profile.jakarta.inject.Provider<Resource> voidsetResourceProvider(jakarta.inject.Provider<Resource> resourceProvider)
-
Constructor Details
-
ResourceProfileIdentificationMethod
public ResourceProfileIdentificationMethod()
-
-
Method Details
-
attempt
Description copied from interface:ProfileIdentificationMethodAttempts to identify the profile. If this process fails, then this must return an object equivalent toOptional.empty(). Additional methods may be attempted until all possible methods are exhausted or a suitableProfileis found.- Specified by:
attemptin interfaceProfileIdentificationMethod- Returns:
- the
Profile, never null
-
getResourceProvider
-
setResourceProvider
-