6. Security

oauth2Resource

Version

Allows only authorized HTTP requests to pass through. Unauthorized requests get a redirect to the authorization server as response.

Attributes

NameRequiredDefaultDescriptionExamples
loginLocationfalse-location of the login dialog template (a directory containing the index.html file as well as possibly other resources). Required for older browsers to work.file:c:/work/login/
loginPathfalse/login/context path of the login dialog-
publicURLfalse---
revalidateTokenAfterfalse-1time in seconds until a oauth2 access token is revalidatet with authorization server. This is disabled for values < 0-

Child Elements

ElementDescriptionCardinality
github0..1
google0..1
sessionManagerExplanation:0..1

Can be used in