Created
March 29, 2020 06:30
-
-
Save dllewellyn/a4a38e07a8d80e0775c40c04f2764fa3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
@Secured(SecurityRule.IS_ANONYMOUS) | |
@Controller("/authenticated") | |
class CertificateCheckerController { | |
@Secured(SecurityRule.IS_AUTHENTICATED) | |
@Get("/verification") | |
fun verify(principal: Principal?) = | |
principal | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment