/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/policy/ |
H A D | ConditionDecision.java | 49 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 D | ActionDecision.java | 55 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 D | ResourceResult.java | 86 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 D | Policy.java | 1930 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 D | SubjectEvaluationCache.java | 67 * tokenID ----> subjectId1 --> [timeToLive, isMember] 68 * subjectId2 --> [timeToLive, isMember] 176 long timeToLive = element[0].longValue(); 178 if (timeToLive > currentTime) {
|
H A D | PolicyDecision.java | 60 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 D | Conditions.java | 476 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 D | ConditionDecision.java | 49 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 D | ActionDecision.java | 55 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 D | ResourceResult.java | 86 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 D | Policy.java | 1930 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 D | SubjectEvaluationCache.java | 66 * tokenID ----> subjectId1 --> [timeToLive, isMember] 67 * subjectId2 --> [timeToLive, isMember] 175 long timeToLive = element[0].longValue(); 177 if (timeToLive > currentTime) {
|
H A D | PolicyDecision.java | 60 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 D | Conditions.java | 476 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 D | ConditionDecision.java | 47 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 D | ConditionDecision.java | 47 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 D | FRANotification.m | 37 - (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 D | FRANotification.h | 86 @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 D | FRANotificationHandler.m | 112 NSTimeInterval timeToLive = [[payload objectForKey:TTL_KEY] doubleValue]; 120 timeToLive:timeToLive
|
/forgerock/authenticator-ios-v2/unit-tests/ |
H A D | FRANotificationTest.m | 48 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 D | FRAIdentityModelTests.m | 161 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 D | SessionCondition.java | 297 long timeToLive = Long.MAX_VALUE; 309 timeToLive = expiredTime; 310 conditionDecision = new ConditionDecision(allowed, timeToLive); 341 new ConditionDecision(allowed, timeToLive, advices);
|
H A D | AuthSchemeCondition.java | 347 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 D | SessionCondition.java | 295 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 D | AuthSchemeCondition.java | 215 long timeToLive = Long.MAX_VALUE; 238 timeToLive = appIdleTimesoutAt; 255 + ", timeToLive = " + timeToLive + ", advices = " + advices ); 258 return new ConditionDecision(allowed, advices, timeToLive);
|