@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented @SecurityBindingType public @interface LoggedIn
Defines an authorization constraint where only authenticated users are allowed to invoke a method.
The constraint is validated before method invocation.
Modifier and Type | Optional Element and Description |
---|---|
Class<? extends Account> |
requiresAccount
If defined, checks if the authenticated account is the same or a subclass of the given
Account type. |
Copyright © 2018. All rights reserved.