|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Inherited @Target(value={TYPE,FIELD,METHOD,PARAMETER}) @Retention(value=RUNTIME) public @interface Authentication
Annotation denoting the intent that service operations require authentication.
Applied to the injection site (field, method or constructor parameter) for a reference, it indicates that all invocations through that reference require authentication. Applied to a interface method on a service contract, it indicates that all invocations of that service operation require authentication; applied to the type of a service contract, it indicates that all service operations on that interface require authentication. Applied to a method on an implementation class, it indicates that all invocations that are dispatched to that implementation method (through any service) require authentication. Applied to a interface implemented by an implementation class, it indicates that all invocations that are dispatched to the implementation method for that interface operation require authentication. Applied to an implementation class, it indicates that all invocations of that implementation and that all invocations made by that implementation require authentication.
Optional Element Summary | |
---|---|
java.lang.String[] |
value
List of authentication qualifiers (such as "message" or "transport"). |
public abstract java.lang.String[] value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |