You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by bd...@apache.org on 2022/08/15 14:24:26 UTC
[directory-scimple] 06/06: Add scope to RequestContext
This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a commit to branch constructors
in repository https://gitbox.apache.org/repos/asf/directory-scimple.git
commit 491666742d64cacd9e9b0926b0ce9e3c36dd0c6d
Author: Brian Demers <bd...@apache.org>
AuthorDate: Mon Aug 15 10:23:57 2022 -0400
Add scope to RequestContext
---
.../main/java/org/apache/directory/scim/server/rest/RequestContext.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scim-server/src/main/java/org/apache/directory/scim/server/rest/RequestContext.java b/scim-server/src/main/java/org/apache/directory/scim/server/rest/RequestContext.java
index 5d4951f..db1516b 100644
--- a/scim-server/src/main/java/org/apache/directory/scim/server/rest/RequestContext.java
+++ b/scim-server/src/main/java/org/apache/directory/scim/server/rest/RequestContext.java
@@ -19,6 +19,7 @@
package org.apache.directory.scim.server.rest;
+import jakarta.enterprise.context.ApplicationScoped;
import jakarta.ws.rs.core.Context;
import jakarta.ws.rs.core.Request;
import jakarta.ws.rs.core.SecurityContext;
@@ -30,6 +31,7 @@ import lombok.Data;
* removes the need to have field injection for @Context classes in other places.
*/
@Data
+@ApplicationScoped
public class RequestContext {
@Context