Searched refs:timeToLive (Results 1 - 25 of 47) sorted by relevance

12

/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/
H A DConditionDecision.java49 private long timeToLive = Long.MAX_VALUE; field in class:ConditionDecision
86 * @param timeToLive GMT time in milliseconds since epoch when
89 public ConditionDecision(boolean allowed, long timeToLive) { argument
91 this.timeToLive = timeToLive;
98 * @param timeToLive GMT time in milliseconds since epoch when
108 public ConditionDecision(boolean allowed, long timeToLive, Map advices) { argument
110 this.timeToLive = timeToLive;
156 /** Sets <code>timeToLive</cod
161 setTimeToLive(long timeToLive) argument
[all...]
H A DActionDecision.java55 static final String TIME_TO_LIVE = "timeToLive";
60 private long timeToLive = Long.MAX_VALUE; field in class:ActionDecision
104 * @param timeToLive the GMT time in milliseconds since epoch
111 long timeToLive
116 this.timeToLive = timeToLive;
160 return timeToLive;
170 * @param timeToLive time to live
173 public void setTimeToLive(long timeToLive) { argument
174 this.timeToLive
[all...]
H A DResourceResult.java86 private long timeToLive = Long.MAX_VALUE; field in class:ResourceResult
155 if ( pdTtl < timeToLive ) {
156 timeToLive = pdTtl;
184 timeToLive = policyDecision.getTimeToLive();
190 if ( ttl < timeToLive) {
191 timeToLive = ttl;
284 .append("\" ").append("timeToLive")
285 .append("=\"").append(timeToLive).append("\"")
369 if ( rrTtl < timeToLive ) {
370 timeToLive
[all...]
H A DPolicy.java1930 long timeToLive = Long.MIN_VALUE;
1935 timeToLive = users.getResultTtl(token);
1938 timeToLive = Long.MAX_VALUE;
1947 if ( conditionsTtl < timeToLive ) {
1948 timeToLive = conditionsTtl;
1968 advicesFromConditions, timeToLive);
1992 advicesFromConditions, timeToLive);
1997 policyDecision.setTimeToLive(timeToLive);
2001 policyDecision.setTimeToLive(timeToLive);
2038 long timeToLive
[all...]
H A DSubjectEvaluationCache.java67 * tokenID ----> subjectId1 --> [timeToLive, isMember]
68 * subjectId2 --> [timeToLive, isMember]
176 long timeToLive = element[0].longValue();
178 if (timeToLive > currentTime) {
H A DPolicyDecision.java60 private long timeToLive = Long.MAX_VALUE; field in class:PolicyDecision
270 .append(" ").append("timeToLive")
271 .append("=\"").append(timeToLive).append("\"")
439 return timeToLive;
443 * Sets the <code>timeToLive</code> value of the policy decision to the
444 * smallest of <code>timeToLive(s)<code> of contained
450 timeToLive = Long.MAX_VALUE;
457 if ( actionTtl < timeToLive) {
458 timeToLive = actionTtl;
466 * Sets the timeToLive valu
[all...]
H A DConditions.java476 long timeToLive = Long.MAX_VALUE;
503 if ( ttl < timeToLive) {
504 timeToLive = ttl;
524 + "timeToLive, " + " advices=" + allowed +"," + timeToLive
527 return new ConditionDecision(allowed, timeToLive, effectiveAdvices);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/
H A DConditionDecision.java49 private long timeToLive = Long.MAX_VALUE; field in class:ConditionDecision
86 * @param timeToLive GMT time in milliseconds since epoch when
89 public ConditionDecision(boolean allowed, long timeToLive) { argument
91 this.timeToLive = timeToLive;
98 * @param timeToLive GMT time in milliseconds since epoch when
108 public ConditionDecision(boolean allowed, long timeToLive, Map advices) { argument
110 this.timeToLive = timeToLive;
156 /** Sets <code>timeToLive</cod
161 setTimeToLive(long timeToLive) argument
[all...]
H A DActionDecision.java55 static final String TIME_TO_LIVE = "timeToLive";
60 private long timeToLive = Long.MAX_VALUE; field in class:ActionDecision
104 * @param timeToLive the GMT time in milliseconds since epoch
111 long timeToLive
116 this.timeToLive = timeToLive;
160 return timeToLive;
170 * @param timeToLive time to live
173 public void setTimeToLive(long timeToLive) { argument
174 this.timeToLive
[all...]
H A DResourceResult.java86 private long timeToLive = Long.MAX_VALUE; field in class:ResourceResult
155 if ( pdTtl < timeToLive ) {
156 timeToLive = pdTtl;
184 timeToLive = policyDecision.getTimeToLive();
190 if ( ttl < timeToLive) {
191 timeToLive = ttl;
284 .append("\" ").append("timeToLive")
285 .append("=\"").append(timeToLive).append("\"")
369 if ( rrTtl < timeToLive ) {
370 timeToLive
[all...]
H A DPolicy.java1930 long timeToLive = Long.MIN_VALUE;
1935 timeToLive = users.getResultTtl(token);
1938 timeToLive = Long.MAX_VALUE;
1947 if ( conditionsTtl < timeToLive ) {
1948 timeToLive = conditionsTtl;
1968 advicesFromConditions, timeToLive);
1992 advicesFromConditions, timeToLive);
1997 policyDecision.setTimeToLive(timeToLive);
2001 policyDecision.setTimeToLive(timeToLive);
2038 long timeToLive
[all...]
H A DSubjectEvaluationCache.java66 * tokenID ----> subjectId1 --> [timeToLive, isMember]
67 * subjectId2 --> [timeToLive, isMember]
175 long timeToLive = element[0].longValue();
177 if (timeToLive > currentTime) {
H A DPolicyDecision.java60 private long timeToLive = Long.MAX_VALUE; field in class:PolicyDecision
270 .append(" ").append("timeToLive")
271 .append("=\"").append(timeToLive).append("\"")
439 return timeToLive;
443 * Sets the <code>timeToLive</code> value of the policy decision to the
444 * smallest of <code>timeToLive(s)<code> of contained
450 timeToLive = Long.MAX_VALUE;
457 if ( actionTtl < timeToLive) {
458 timeToLive = actionTtl;
466 * Sets the timeToLive valu
[all...]
H A DConditions.java476 long timeToLive = Long.MAX_VALUE;
503 if ( ttl < timeToLive) {
504 timeToLive = ttl;
524 + "timeToLive, " + " advices=" + allowed +"," + timeToLive
527 return new ConditionDecision(allowed, timeToLive, effectiveAdvices);
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/entitlement/
H A DConditionDecision.java47 private final long timeToLive; field in class:ConditionDecision
83 this.timeToLive = ttl;
90 timeToLive = builder.timeToLive;
126 return timeToLive;
196 private long timeToLive; field in class:ConditionDecision.Builder
202 timeToLive = Long.MAX_VALUE;
236 * @param timeToLive
241 public Builder setTimeToLive(long timeToLive) { argument
242 Reject.ifTrue(timeToLive <
[all...]
/forgerock/openam/openam-core/src/main/java/com/sun/identity/entitlement/
H A DConditionDecision.java47 private final long timeToLive; field in class:ConditionDecision
83 this.timeToLive = ttl;
90 timeToLive = builder.timeToLive;
126 return timeToLive;
196 private long timeToLive; field in class:ConditionDecision.Builder
202 timeToLive = Long.MAX_VALUE;
236 * @param timeToLive
241 public Builder setTimeToLive(long timeToLive) { argument
242 Reject.ifTrue(timeToLive <
[all...]
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A DFRANotification.m37 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieData:(NSString *)loadBalancerCookie pending:(BOOL)pendingState approved:(BOOL)approvedState {
46 _timeToLive = timeToLive;
47 _timeExpired = [timeReceived dateByAddingTimeInterval:timeToLive];
53 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieData:(NSString *)loadBalancerCookie{
54 return [self initWithDatabase:database identityModel:identityModel messageId:messageId challenge:challenge timeReceived:timeReceived timeToLive:timeToLive loadBalancerCookieData:loadBalancerCookie pending:YES approved:NO];
57 + (instancetype)notificationWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieDat
[all...]
H A DFRANotification.h86 @property (nonatomic, readonly) NSTimeInterval timeToLive; variable
97 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieData:(NSString *)loadBalancerCookie pending:(BOOL)pendingState approved:(BOOL)approvedState;
102 - (instancetype)initWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieData:(NSString *)loadBalancerCookie;
107 + (instancetype)notificationWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieData:(NSString *)loadBalancerCookie pending:(BOOL)pendingState approved:(BOOL)approvedState;
112 + (instancetype)notificationWithDatabase:(FRAIdentityDatabase *)database identityModel:(FRAIdentityModel *)identityModel messageId:(NSString *)messageId challenge:(NSString *)challenge timeReceived:(NSDate *)timeReceived timeToLive:(NSTimeInterval)timeToLive loadBalancerCookieData:(NSString *)loadBalancerCookie;
H A DFRANotificationHandler.m112 NSTimeInterval timeToLive = [[payload objectForKey:TTL_KEY] doubleValue];
120 timeToLive:timeToLive
/forgerock/authenticator-ios-v2/unit-tests/
H A DFRANotificationTest.m48 NSTimeInterval timeToLive = 120.0;
50 notification = [[FRANotification alloc] initWithDatabase:database identityModel:mockIdentityModel messageId:@"messageId" challenge:@"challenge" timeReceived:[NSDate date] timeToLive:timeToLive loadBalancerCookieData:@"amlbcookie=03"];
79 NSTimeInterval timeToLive = 120.0;
80 FRANotification *expiringNotification = [[FRANotification alloc] initWithDatabase:database identityModel:mockIdentityModel messageId:@"messageId" challenge:@"challenge" timeReceived:timeReceived timeToLive:timeToLive loadBalancerCookieData:@"amlbcookie=03"];
85 XCTAssertEqualObjects([expiringNotification timeExpired], [timeReceived dateByAddingTimeInterval:timeToLive]);
210 FRANotification *expiredNotification = [[FRANotification alloc] initWithDatabase:database identityModel:mockIdentityModel messageId:@"messageId" challenge:@"challenge" timeReceived:[NSDate date] timeToLive:-10.0 loadBalancerCookieData:@"amlbcookie=03"];
223 FRANotification *expiredNotification = [[FRANotification alloc] initWithDatabase:database identityModel:mockIdentityModel messageId:@"messageId" challenge:@"challenge" timeReceived:[NSDate date] timeToLive:120.0 loadBalancerCookieData:@"amlbcookie=03"];
H A DFRAIdentityModelTests.m161 NSTimeInterval timeToLive = 120.0;
163 FRANotification *notification = [[FRANotification alloc] initWithDatabase:database identityModel:identityModel messageId:@"messageId" challenge:@"challenge" timeReceived:[NSDate date] timeToLive:timeToLive loadBalancerCookieData:amlbCookie];
193 NSTimeInterval timeToLive = 120.0;
195 FRANotification *notification = [[FRANotification alloc] initWithDatabase:database identityModel:identityModel messageId:@"messageId" challenge:@"challenge" timeReceived:[NSDate date] timeToLive:timeToLive loadBalancerCookieData:amlbCookie];
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/plugins/
H A DSessionCondition.java297 long timeToLive = Long.MAX_VALUE;
309 timeToLive = expiredTime;
310 conditionDecision = new ConditionDecision(allowed, timeToLive);
341 new ConditionDecision(allowed, timeToLive, advices);
H A DAuthSchemeCondition.java347 long timeToLive = Long.MAX_VALUE;
376 timeToLive = appIdleTimesoutAt;
398 + ", timeToLive = " + timeToLive
402 return new ConditionDecision(allowed, timeToLive, advices);
/forgerock/openam/openam-core/src/main/java/com/sun/identity/policy/plugins/
H A DSessionCondition.java295 long timeToLive = Long.MAX_VALUE;
307 timeToLive = expiredTime;
308 conditionDecision = new ConditionDecision(allowed, timeToLive);
339 new ConditionDecision(allowed, timeToLive, advices);
/forgerock/openam-v13/openam-entitlements/src/main/java/org/forgerock/openam/entitlement/conditions/environment/
H A DAuthSchemeCondition.java215 long timeToLive = Long.MAX_VALUE;
238 timeToLive = appIdleTimesoutAt;
255 + ", timeToLive = " + timeToLive + ", advices = " + advices );
258 return new ConditionDecision(allowed, advices, timeToLive);

Completed in 173 milliseconds

12