forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebSockets Next: secure HTTP upgrade with annotation
- Loading branch information
1 parent
6776f7d
commit 5332010
Showing
20 changed files
with
1,331 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...ent/src/main/java/io/quarkus/security/deployment/RegisterClassSecurityCheckBuildItem.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package io.quarkus.security.deployment; | ||
|
||
import org.jboss.jandex.AnnotationInstance; | ||
import org.jboss.jandex.DotName; | ||
|
||
import io.quarkus.builder.item.MultiBuildItem; | ||
|
||
/** | ||
* Registers security check against {@link io.quarkus.security.spi.ClassSecurityCheckStorageBuildItem} | ||
* for security annotation instances passed in this build item. | ||
*/ | ||
final class RegisterClassSecurityCheckBuildItem extends MultiBuildItem { | ||
|
||
final DotName className; | ||
final AnnotationInstance securityAnnotationInstance; | ||
|
||
RegisterClassSecurityCheckBuildItem(DotName className, AnnotationInstance securityAnnotationInstance) { | ||
this.className = className; | ||
this.securityAnnotationInstance = securityAnnotationInstance; | ||
} | ||
} |
Oops, something went wrong.