javacommons/security/javasrc/com/nokia/mj/impl/security/midp/common/UserSecuritySettings.java
equal
deleted
inserted
replaced
23 * and a set of allowed interaction modes |
23 * and a set of allowed interaction modes |
24 */ |
24 */ |
25 public interface UserSecuritySettings |
25 public interface UserSecuritySettings |
26 { |
26 { |
27 // interaction modes |
27 // interaction modes |
|
28 public static final int UNDEFINED_INTERACTION_MODE = -1; |
28 public static final int ONESHOT_INTERACTION_MODE = 1; |
29 public static final int ONESHOT_INTERACTION_MODE = 1; |
29 public static final int SESSION_INTERACTION_MODE = 2; |
30 public static final int SESSION_INTERACTION_MODE = 2; |
30 public static final int BLANKET_INTERACTION_MODE = 3; |
31 public static final int BLANKET_INTERACTION_MODE = 3; |
31 public static final int NO_INTERACTION_MODE = 4; |
32 public static final int NO_INTERACTION_MODE = 4; |
32 |
33 |
53 // security warnings modes |
54 // security warnings modes |
54 public static final String SECURITY_WARNINGS_USER_DEFINED_MODE = "1"; |
55 public static final String SECURITY_WARNINGS_USER_DEFINED_MODE = "1"; |
55 public static final String SECURITY_WARNINGS_DEFAULT_MODE = "2"; |
56 public static final String SECURITY_WARNINGS_DEFAULT_MODE = "2"; |
56 |
57 |
57 public String getName(); |
58 public String getName(); |
|
59 public boolean isActive(); |
58 public int getCurrentInteractionMode(); |
60 public int getCurrentInteractionMode(); |
59 public int[] getAllowedInteractionModes(); |
61 public int[] getAllowedInteractionModes(); |
60 public boolean isInteractionModeAllowed(int interactionMode); |
62 public boolean isInteractionModeAllowed(int interactionMode); |
61 public boolean getBlanketPrompt(); |
63 public boolean getBlanketPrompt(); |
62 } |
64 } |