|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=CLASS) @Target(value=METHOD) @Documented public @interface SensitiveMethod
Annotation for specifying the expected security level on a given method of a class.
This annotation allows for specifying a security level expected during the execution of a method. The annotation applies only to the annotated method and is not inherited by methods that may be overriding this method in subclasses.
Note - Be careful that the behavior of this annotation regarding inheritance differs from that of the
SensitiveType
annotation in that it is not tagged with the
meta-annotation.
@Inherited
See Runtime Environment Specification for the Java Card Platform, Connected Edition , appendix B for details regarding security annotations.
SensitivityValue
Required Element Summary | |
---|---|
SensitivityValue |
sensitivity
The sensitivity, meaning the security level that is expected on the currently annotated method. |
Optional Element Summary | |
---|---|
String |
proprietaryValue
Additional information that can be used by proprietary tools or platform in order to perform more precise tasks. |
Element Detail |
---|
public abstract SensitivityValue sensitivity
Authorized values for this member are:
INTEGRITY
INTEGRITY
indicates that
consistency of this method is important. If this method's behavior is
modified outside the scope of the normal proposed services, it could be
detrimental to the application, the application user and/or the
application provider.CONFIDENTIALITY
CONFIDENTIALITY
indicates
that hiding the data handling by this method from the outside is
important. If the data handling by this method is disclosed outside the
application, it could be detrimental to the application, the application
user and/or the application provider.FULL
FULL
in sensitivity is equivalent to
annotating the method both as sensitive in INTEGRITY
and in
CONFIDENTIALITY
.
SensitivityValue
public abstract String proprietaryValue
Any string are authorized as value of this member.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |