Class SecuredResource
- java.lang.Object
-
- net.officefloor.tutorial.jwtresourcehttpserver.SecuredResource
-
public class SecuredResource extends java.lang.Object
Secured resource.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description SecuredResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
secure(Claims claims, ServerHttpConnection connection)
-
-
-
Method Detail
-
secure
@HttpAccess(ifRole="tutorial") public void secure(Claims claims, ServerHttpConnection connection) throws java.io.IOException
- Throws:
java.io.IOException
-
-