@Target(value={METHOD,TYPE})
@Retention(value=RUNTIME)
public @interface AuthConstraint
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.String |
comment
The description of this constraint (which can be displayed to users to help explain why they have been denied access)
|
java.lang.String |
id
The id of this authentication constraint; designed to allow configuration to override the constraints in the annotation
|
java.lang.String |
role
The role the user must have (defaults to "user").
|
boolean |
skip
If true, authentication will not be enforced on calls made to the annotation target
|
public abstract java.lang.String id
public abstract boolean skip
public abstract java.lang.String role
public abstract java.lang.String comment
Copyright © 2014. All Rights Reserved.