Searched defs:maxAge (Results 1 - 25 of 35) sorted by relevance

12

/forgerock/openam-v13/openam-rest/src/main/java/org/forgerock/openam/cors/
H A DCORSService.java53 private final int maxAge; field in class:CORSService
58 * If the maxAge parameter is less than zero, we will set it to zero here.
66 * @param maxAge The maximum cache-length of the pre-flight response by the CORS-client in seconds
73 int maxAge, final boolean allowCredentials, String expectedHostname) {
78 if (maxAge < 0) {
79 maxAge = 0;
95 this.maxAge = maxAge;
157 if (maxAge > 0) {
158 res.setIntHeader(CORSConstants.AC_MAX_AGE, maxAge);
71 CORSService(final List<String> acceptedOrigins, final List<String> acceptedMethods, List<String> acceptedHeaders, List<String> exposedHeaders, int maxAge, final boolean allowCredentials, String expectedHostname) argument
[all...]
/forgerock/openam/openam-rest/src/main/java/org/forgerock/openam/cors/
H A DCORSService.java61 private final int maxAge; field in class:CORSService
66 * If the maxAge parameter is less than zero, we will set it to zero here.
74 * @param maxAge The maximum cache-length of the pre-flight response by the CORS-client in seconds
81 int maxAge, final boolean allowCredentials, String expectedHostname) {
86 if (maxAge < 0) {
87 maxAge = 0;
103 this.maxAge = maxAge;
164 if (maxAge > 0) {
165 res.setIntHeader(CORSConstants.AC_MAX_AGE, maxAge);
79 CORSService(final List<String> acceptedOrigins, final List<String> acceptedMethods, List<String> acceptedHeaders, List<String> exposedHeaders, int maxAge, final boolean allowCredentials, String expectedHostname) argument
[all...]
/forgerock/openam-v13/openam-core/src/main/java/com/iplanet/services/util/
H A DCookieUtils.java257 * @param maxAge
264 public static Cookie newCookie(String name, String value, int maxAge) { argument
265 return newCookie(name, value, maxAge, null, null);
324 * @param maxAge
338 public static Cookie newCookie(String name, String value, int maxAge, argument
350 cookie.setMaxAge(maxAge);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/authentication/service/protocol/
H A DRemoteCookie.java47 private int maxAge = -1; field in class:RemoteCookie
67 maxAge = cookie.getMaxAge();
89 if (maxAge != -1)
90 newCookie.setMaxAge(maxAge);
128 return maxAge;
212 this.maxAge = expiry;
/forgerock/openam-v13/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/
H A DCookieUtils.java192 * @param maxAge an integer specifying the maximum age of the cookie in
198 public static Cookie newCookie(String name, String value, int maxAge) { argument
199 return newCookie(name, value, maxAge, null, null);
249 * @param maxAge an integer specifying the maximum age of the cookie in
261 (String name, String value, int maxAge, String path, String domain) {
272 cookie.setMaxAge(maxAge);
260 newCookie(String name, String value, int maxAge, String path, String domain) argument
/forgerock/openam-v13/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DCookieUtils.java290 * @param maxAge Maximum age of the cookie in seconds; if negative, means
294 public static Cookie newCookie(String name, String value, int maxAge) { argument
295 return newCookie(name, value, maxAge, null, null);
340 * @param maxAge Maximum age of the cookie in seconds; if negative, means
350 int maxAge,
364 cookie.setMaxAge(maxAge);
347 newCookie( String name, String value, int maxAge, String path, String domain ) argument
/forgerock/openam/openam-shared/src/main/java/com/sun/identity/shared/encode/
H A DCookieUtils.java293 * @param maxAge Maximum age of the cookie in seconds; if negative, means
297 public static Cookie newCookie(String name, String value, int maxAge) { argument
298 return newCookie(name, value, maxAge, null, null);
343 * @param maxAge Maximum age of the cookie in seconds; if negative, means
353 int maxAge,
367 cookie.setMaxAge(maxAge);
350 newCookie( String name, String value, int maxAge, String path, String domain ) argument
/forgerock/openam/openam-core/src/main/java/com/iplanet/services/util/
H A DCookieUtils.java257 * @param maxAge
264 public static Cookie newCookie(String name, String value, int maxAge) { argument
265 return newCookie(name, value, maxAge, null, null);
324 * @param maxAge
338 public static Cookie newCookie(String name, String value, int maxAge, argument
350 cookie.setMaxAge(maxAge);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/authentication/service/protocol/
H A DRemoteCookie.java47 private int maxAge = -1; field in class:RemoteCookie
67 maxAge = cookie.getMaxAge();
89 if (maxAge != -1)
90 newCookie.setMaxAge(maxAge);
128 return maxAge;
212 this.maxAge = expiry;
/forgerock/openam/openam-federation/openam-idpdiscovery/src/main/java/com/sun/identity/saml2/idpdiscovery/
H A DCookieUtils.java192 * @param maxAge an integer specifying the maximum age of the cookie in
198 public static Cookie newCookie(String name, String value, int maxAge) { argument
199 return newCookie(name, value, maxAge, null, null);
249 * @param maxAge an integer specifying the maximum age of the cookie in
261 (String name, String value, int maxAge, String path, String domain) {
272 cookie.setMaxAge(maxAge);
260 newCookie(String name, String value, int maxAge, String path, String domain) argument
/forgerock/openam-v13/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMResourceOwnerSessionValidator.java252 * maxAge in seconds, authTime in miliseconds, maxAge not in play if set to -1.
254 private boolean isPastMaxAge(long maxAge, long authTime) throws SSOException { argument
255 return maxAge > -1 && maxAge <= System.currentTimeMillis() - authTime;
269 long maxAge = -1;
272 maxAge = Long.valueOf(maxAgeStr);
273 if (maxAge < MIN_DEFAULT_MAX_AGE) { //default to the minimum default to avoid infinite redirects
274 maxAge = MIN_DEFAULT_MAX_AGE;
279 maxAge
[all...]
H A DOpenAMTokenStore.java824 Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)
860 responseType, state, acrValues, prompt, uiLocales, loginHint, maxAge, claims, expiryTime, scope,
822 createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
/forgerock/openam-v13/openam-oauth2-common/oauth2-core/src/main/java/org/forgerock/oauth2/core/
H A DDeviceCode.java56 Integer maxAge, String claims, long expiryTime, Set<String> scope, String realm, String codeChallenge,
71 setStringProperty(OAuth2Constants.Params.MAX_AGE, maxAge == null ? null : String.valueOf(maxAge));
54 DeviceCode(String deviceCode, String userCode, String resourceOwnerId, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, long expiryTime, Set<String> scope, String realm, String codeChallenge, String codeChallengeMethod) argument
H A DTokenStore.java214 * @param maxAge The max_age request parameter.
225 Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)
223 createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/oauth2/core/
H A DDeviceCode.java58 Integer maxAge, String claims, long expiryTime, Set<String> scope, String realm, String codeChallenge,
73 setStringProperty(OAuth2Constants.Params.MAX_AGE, maxAge == null ? null : String.valueOf(maxAge));
56 DeviceCode(String deviceCode, String userCode, String resourceOwnerId, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, long expiryTime, Set<String> scope, String realm, String codeChallenge, String codeChallengeMethod, String auditTrackingId) argument
H A DResourceOwnerSessionValidator.java273 * maxAge in seconds, authTime in miliseconds, maxAge not in play if set to -1.
275 private boolean isPastMaxAge(long maxAge, long authTime) throws SSOException { argument
276 return maxAge > -1 && maxAge <= currentTimeMillis() - authTime;
290 long maxAge = -1;
293 maxAge = Long.valueOf(maxAgeStr);
294 if (maxAge < MIN_DEFAULT_MAX_AGE) { //default to the minimum default to avoid infinite redirects
295 maxAge = MIN_DEFAULT_MAX_AGE;
300 maxAge
[all...]
H A DTokenStore.java311 * @param maxAge The max_age request parameter.
322 Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)
320 createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
/forgerock/openam/openam-oauth2/src/main/java/org/forgerock/openam/oauth2/
H A DOpenAMTokenStore.java247 Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)
251 acrValues, prompt, uiLocales, loginHint, maxAge, claims, request, codeChallenge, codeChallengeMethod);
254 acrValues, prompt, uiLocales, loginHint, maxAge, claims, request, codeChallenge, codeChallengeMethod);
245 createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
H A DStatefulTokenStore.java896 Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)
937 responseType, state, acrValues, prompt, uiLocales, loginHint, maxAge, claims, expiryTime, scope,
894 createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
H A DStatelessTokenStore.java607 Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod)
610 acrValues, prompt, uiLocales, loginHint, maxAge, claims, request, codeChallenge, codeChallengeMethod);
605 createDeviceCode(Set<String> scope, ResourceOwner resourceOwner, String clientId, String nonce, String responseType, String state, String acrValues, String prompt, String uiLocales, String loginHint, Integer maxAge, String claims, OAuth2Request request, String codeChallenge, String codeChallengeMethod) argument
/forgerock/openam-v13/openam-oauth/samples/StockService/lib/
H A Doauth-filter-0.1-SNAPSHOT.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/sun/ com/sun/identity/ com/sun/identity/oauth/ ...
H A Djsr311-api-1.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/ws/ javax/ws/rs/ javax/ws/rs/core/ ...
H A Djsr311-api.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/ws/ javax/ws/rs/ javax/ws/rs/core/ ...
/forgerock/openam-v13/openam-oauth/samples/StockClient/lib/
H A Djsr311-api-1.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/ws/ javax/ws/rs/ javax/ws/rs/core/ ...
/forgerock/openam-v13/openam-core/src/main/java/com/sun/identity/authentication/client/
H A DAuthClientUtils.java1900 public static Cookie createCookie(String name, String value, int maxAge, String cookieDomain) { argument
1903 if (maxAge >= 0) {
1904 pCookie.setMaxAge(maxAge);

Completed in 408 milliseconds

12