Searched refs:ttl (Results 1 - 25 of 36) sorted by relevance

12

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/
H A DAndCondition.java87 long ttl = Long.MAX_VALUE;
95 if (decision.getTimeToLive() < ttl) {
96 ttl = decision.getTimeToLive();
111 .setTimeToLive(ttl)
H A DOrCondition.java88 long ttl = Long.MAX_VALUE;
96 if (decision.getTimeToLive() < ttl) {
97 ttl = decision.getTimeToLive();
104 .setTimeToLive(ttl)
H A DConditionDecision.java75 * @param ttl
79 public ConditionDecision(boolean satisfied, Map<String, Set<String>> advices, long ttl) { argument
83 this.timeToLive = ttl;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/
H A DAndCondition.java87 long ttl = Long.MAX_VALUE;
95 if (decision.getTimeToLive() < ttl) {
96 ttl = decision.getTimeToLive();
111 .setTimeToLive(ttl)
H A DOrCondition.java88 long ttl = Long.MAX_VALUE;
96 if (decision.getTimeToLive() < ttl) {
97 ttl = decision.getTimeToLive();
104 .setTimeToLive(ttl)
H A DConditionDecision.java75 * @param ttl
79 public ConditionDecision(boolean satisfied, Map<String, Set<String>> advices, long ttl) { argument
83 this.timeToLive = ttl;
/forgerock/authenticator-android-v2/app/src/main/java/com/forgerock/authenticator/message/
H A DGcmService.java119 int ttl = DEFAULT_TTL_SECONDS;
122 ttl = Integer.parseInt((String) signedJwt.getClaimsSet().getClaim(TTL));
156 notification = generateNotification(messageId, push, base64Challenge, amlbCookie, ttl);
165 String messageId, Push push, String base64Challenge, String amlbCookie, int ttl)
169 timeExpired.add(Calendar.SECOND, ttl);
164 generateNotification( String messageId, Push push, String base64Challenge, String amlbCookie, int ttl) argument
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/sm/
H A DCachedSMSEntry.java92 static long ttl = 1800000; // 30 minutes field in class:CachedSMSEntry
129 ((System.currentTimeMillis() - lastUpdate) > ttl)) {
420 ttl = Long.parseLong(cacheTime);
422 ttl = ttl * 60* 1000;
426 ttl = 1800000; // 30 minutes, default
H A DCachedSubEntries.java99 lastUpdated) > CachedSMSEntry.ttl)) {
/forgerock/openam/openam-core/src/main/java/com/sun/identity/sm/
H A DCachedSMSEntry.java93 static long ttl = 1800000; // 30 minutes field in class:CachedSMSEntry
129 ((currentTimeMillis() - lastUpdate) > ttl)) {
399 ttl = Long.parseLong(cacheTime);
401 ttl = ttl * 60* 1000;
405 ttl = 1800000; // 30 minutes, default
/forgerock/web-agents-v4/source/
H A Dpolicy_xml.c46 uint64_t ttl; member in struct:__anon90
87 int create_am_action_decision_node(am_bool_t action, char method, uint64_t ttl, struct am_action_decision **node) { argument
94 action_decision->ttl = ttl;
162 el->ttl = _strtoui64(atts[i + 1], NULL, AM_BASE_TEN);
164 el->ttl = strtoull(atts[i + 1], NULL, AM_BASE_TEN);
H A Dcache.c72 uint64_t ttl; member in struct:am_cache_entry_data
527 cache_entry_data->ttl = 0;
705 if (create_am_action_decision_node(act, a->method, a->ttl, &el) == 0) {
760 policy->ttl = cache_entry->ts + cache_entry->valid;
781 attr->ttl = cache_entry->ts + cache_entry->valid;
809 action_decision->ttl = ae->ttl;
831 advice->ttl = cache_entry->ts + cache_entry->valid;
855 profile_attr->ttl = cache_entry->ts + cache_entry->valid;
1032 session_attr->ttl
[all...]
H A Dutility.h106 uint64_t ttl; member in struct:am_action_decision
263 int create_am_action_decision_node(am_bool_t a, char m, uint64_t ttl,
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/
H A DResourceResult.java189 long ttl = rr.getTimeToLive();
190 if ( ttl < timeToLive) {
191 timeToLive = ttl;
H A DSubjects.java721 * Sets ttl for Subjects result.
722 * That is once isMember() is invoked, the result is cached for ttl time.
726 * @param ttl Subjects result ttl in milliseconds
728 void setResultTtl(long ttl) { argument
729 this.resultTtl = ttl;
733 * Returns ttl for Subjects result.
734 * @return Subjects result ttl in milliseconds
741 * Returns ttl for Subjects result for the given sso token.
742 * @param token sso token for which to compute subjects result ttl
[all...]
H A DConditions.java502 long ttl = cd.getTimeToLive();
503 if ( ttl < timeToLive) {
504 timeToLive = ttl;
H A DPolicyDecision.java170 //get the ttl to max of newTtl and oldTtl
184 //get the ttl to max of newTtl and oldTtl
468 * @param ttl timeToLive value to be set
470 void setTimeToLive(long ttl) { argument
471 timeToLive = ttl;
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/
H A DResourceResult.java189 long ttl = rr.getTimeToLive();
190 if ( ttl < timeToLive) {
191 timeToLive = ttl;
H A DSubjects.java720 * Sets ttl for Subjects result.
721 * That is once isMember() is invoked, the result is cached for ttl time.
725 * @param ttl Subjects result ttl in milliseconds
727 void setResultTtl(long ttl) { argument
728 this.resultTtl = ttl;
732 * Returns ttl for Subjects result.
733 * @return Subjects result ttl in milliseconds
740 * Returns ttl for Subjects result for the given sso token.
741 * @param token sso token for which to compute subjects result ttl
[all...]
H A DConditions.java502 long ttl = cd.getTimeToLive();
503 if ( ttl < timeToLive) {
504 timeToLive = ttl;
H A DPolicyDecision.java170 //get the ttl to max of newTtl and oldTtl
184 //get the ttl to max of newTtl and oldTtl
468 * @param ttl timeToLive value to be set
470 void setTimeToLive(long ttl) { argument
471 timeToLive = ttl;
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/
H A DScriptCondition.java141 scriptVariables.put("ttl", Long.MAX_VALUE);
162 long ttl = ((Number)scriptVariables.get("ttl")).longValue();
166 .setTimeToLive(ttl)
/forgerock/openam/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/
H A DScriptCondition.java141 scriptVariables.put("ttl", Long.MAX_VALUE);
162 long ttl = ((Number)scriptVariables.get("ttl")).longValue();
166 .setTimeToLive(ttl)
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRAModelsFromDatabase.m268 NSTimeInterval ttl = [[dataMap valueForKey:NOTIFICATION_TIME_TO_LIVE] doubleValue];
277 timeToLive:ttl
/forgerock/web-agents-v4/tests/
H A Dtest_policy_cache.c250 assert_int_equal(ad->ttl, 1234);
259 assert_int_equal(ad->ttl, 5678);
269 assert_int_equal(ad->ttl, 9012);

Completed in 5618 milliseconds

12