Searched refs:strategy (Results 1 - 25 of 53) sorted by relevance

123

/forgerock/openam-v13/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/common/sessions/
H A DSessionValidator.js31 function validate (strategy, token, seconds) {
33 strategy(token).then(function (seconds) {
40 validate(strategy, token, adjustedSeconds);
51 * Starts the periodic session validation progress using the specified strategy.
53 * @param {org/forgerock/openam/ui/common/sessions/SessionValidator~Strategy} strategy Strategy to use to
56 start: function (token, strategy) {
59 validate(strategy, token, 0);
/forgerock/openam/openam-ui/openam-ui-ria/src/main/js/org/forgerock/openam/ui/common/sessions/
H A DSessionValidator.js34 function validate (strategy, token, seconds) {
36 strategy(token).then(function (seconds) {
43 validate(strategy, token, adjustedSeconds);
57 * Starts the periodic session validation progress using the specified strategy.
59 * @param {org/forgerock/openam/ui/common/sessions/SessionValidator~Strategy} strategy Strategy to use to
62 start (token, strategy) {
65 validate(strategy, token, 0);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/utils/blob/
H A DTokenBlobStrategyTest.java52 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
55 strategy.perform(data);
75 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
78 strategy.reverse(data);
90 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
93 byte[] result = strategy.perform(data);
109 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
112 strategy.perform(data);
129 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
131 assertThat(strategy
[all...]
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/utils/blob/
H A DTokenBlobStrategyTest.java52 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
55 strategy.perform(data);
75 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
78 strategy.reverse(data);
90 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
93 byte[] result = strategy.perform(data);
109 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
112 strategy.perform(data);
129 TokenBlobStrategy strategy = new TokenBlobStrategy(factory, config);
131 assertThat(strategy
[all...]
/forgerock/openam-v13/openam-core/src/test/java/com/iplanet/dpro/session/operations/
H A DRemoteSessionOperationStrategyTest.java29 RemoteSessionOperationStrategy strategy = new RemoteSessionOperationStrategy(mockRemote);
31 SessionOperations operation = strategy.getOperation(null);
H A DServerSessionOperationStrategyTest.java43 private ServerSessionOperationStrategy strategy; field in class:ServerSessionOperationStrategyTest
66 strategy = new ServerSessionOperationStrategy(
90 SessionOperations operation = strategy.getOperation(mockSession);
105 SessionOperations operation = strategy.getOperation(mockSession);
127 SessionOperations operation = strategy.getOperation(mockSession);
140 SessionOperations operation = strategy.getOperation(mockSession);
156 SessionOperations operation = strategy.getOperation(mockSession);
/forgerock/openam/openam-core/src/test/java/com/iplanet/dpro/session/operations/
H A DClientSdkSessionOperationStrategyTest.java30 ClientSdkSessionOperationStrategy strategy = new ClientSdkSessionOperationStrategy(mockRemote);
32 SessionOperations operation = strategy.getOperation(null);
H A DServerSessionOperationStrategyTest.java38 private ServerSessionOperationStrategy strategy; field in class:ServerSessionOperationStrategyTest
51 strategy = new ServerSessionOperationStrategy(
70 SessionOperations operation = strategy.getOperation(mockSessionID);
/forgerock/opendj2/tests/unit-tests-testng/src/server/org/opends/server/core/
H A DBoundedWorkQueueStrategyTest.java90 final BoundedWorkQueueStrategy strategy =
94 strategy.enqueueRequest(operation);
125 final BoundedWorkQueueStrategy strategy =
128 strategy.enqueueRequest(operation);
143 final BoundedWorkQueueStrategy strategy =
148 strategy.enqueueRequest(operation1);
149 strategy.enqueueRequest(operation2);
150 strategy.enqueueRequest(operation3);
168 final BoundedWorkQueueStrategy strategy =
171 strategy
[all...]
/forgerock/opendj2-hg/tests/unit-tests-testng/src/server/org/opends/server/core/
H A DBoundedWorkQueueStrategyTest.java90 final BoundedWorkQueueStrategy strategy =
94 strategy.enqueueRequest(operation);
125 final BoundedWorkQueueStrategy strategy =
128 strategy.enqueueRequest(operation);
143 final BoundedWorkQueueStrategy strategy =
148 strategy.enqueueRequest(operation1);
149 strategy.enqueueRequest(operation2);
150 strategy.enqueueRequest(operation3);
168 final BoundedWorkQueueStrategy strategy =
171 strategy
[all...]
/forgerock/opendj-v3/opendj-server-legacy/src/test/java/org/opends/server/core/
H A DBoundedWorkQueueStrategyTest.java90 final BoundedWorkQueueStrategy strategy =
94 strategy.enqueueRequest(operation);
125 final BoundedWorkQueueStrategy strategy =
128 strategy.enqueueRequest(operation);
143 final BoundedWorkQueueStrategy strategy =
148 strategy.enqueueRequest(operation1);
149 strategy.enqueueRequest(operation2);
150 strategy.enqueueRequest(operation3);
168 final BoundedWorkQueueStrategy strategy =
171 strategy
[all...]
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/utils/blob/
H A DTokenBlobStrategy.java44 * Perform the strategy on the byte array.
46 * @param data A possibly null byte[] to perform the strategy on.
56 * Performs the reverse strategy on the byte array.
58 * @param data A possibly null byte[] to perform the reverse strategy on.
84 for (BlobStrategy strategy : strategies) {
86 r = strategy.perform(r);
88 r = strategy.reverse(r);
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/utils/blob/strategies/
H A DCompressionStrategyTest.java125 final MonitoredCompressionStrategy strategy = new MonitoredCompressionStrategy();
133 executor.execute(new CompressionTask(barrier, dataToCompress, strategy, errors, roundsPerThread));
139 strategy.reset();
146 strategy.printStats(System.out);
151 // strategy.printStats(out);
163 private final CompressionStrategy strategy; field in class:CompressionStrategyTest.CompressionTask
167 CompressionTask(final CyclicBarrier barrier, final byte[] dataToCompress, final CompressionStrategy strategy, argument
171 this.strategy = strategy;
183 final byte[] compressed = strategy
[all...]
H A DEncryptionStrategyTest.java33 private EncryptionStrategy strategy; field in class:EncryptionStrategyTest
37 strategy = new EncryptionStrategy(mock(Debug.class));
42 strategy.perform(null);
47 strategy.reverse(null);
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/utils/blob/
H A DTokenBlobStrategy.java44 * Perform the strategy on the byte array.
46 * @param data A possibly null byte[] to perform the strategy on.
56 * Performs the reverse strategy on the byte array.
58 * @param data A possibly null byte[] to perform the reverse strategy on.
84 for (BlobStrategy strategy : strategies) {
86 r = strategy.perform(r);
88 r = strategy.reverse(r);
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/utils/blob/strategies/
H A DCompressionStrategyTest.java126 final MonitoredCompressionStrategy strategy = new MonitoredCompressionStrategy();
134 executor.execute(new CompressionTask(barrier, dataToCompress, strategy, errors, roundsPerThread));
140 strategy.reset();
147 strategy.printStats(System.out);
152 // strategy.printStats(out);
164 private final CompressionStrategy strategy; field in class:CompressionStrategyTest.CompressionTask
168 CompressionTask(final CyclicBarrier barrier, final byte[] dataToCompress, final CompressionStrategy strategy, argument
172 this.strategy = strategy;
184 final byte[] compressed = strategy
[all...]
H A DEncryptionStrategyTest.java33 private EncryptionStrategy strategy; field in class:EncryptionStrategyTest
37 strategy = new EncryptionStrategy(mock(Debug.class));
42 strategy.perform(null);
47 strategy.reverse(null);
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DCoreTokenAdapter.java50 private final TokenBlobStrategy strategy; field in class:CoreTokenAdapter
57 * @param strategy Required for binary object transformations.
64 public CoreTokenAdapter(TokenBlobStrategy strategy, TaskDispatcher dispatcher, ResultHandlerFactory handlerFactory, argument
66 this.strategy = strategy;
204 results.add(new PartialToken(p, CoreTokenField.BLOB, strategy.reverse(value)));
206 throw new CoreTokenException("Failed to reverse Blob strategy", e);
256 token.setBlob(strategy.perform(token.getBlob()));
258 throw new CoreTokenException("Failed to perform Token Blob strategy.", e);
264 token.setBlob(strategy
[all...]
/forgerock/web-agents-v4/zlib/
H A Dzip.h229 int strategy,
246 int strategy,
254 windowBits,memLevel,,strategy : see parameter strategy in deflateInit2
272 int strategy,
293 int strategy,
H A Dgzwrite.c43 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy);
497 int ZEXPORT gzsetparams(file, level, strategy)
500 int strategy;
516 if (level == state->level && strategy == state->strategy)
531 deflateParams(strm, level, strategy);
534 state->strategy = strategy;
H A Ddeflate.c213 int ZEXPORT deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
220 int strategy;
273 strategy < 0 || strategy > Z_FIXED) {
316 s->strategy = strategy;
490 int ZEXPORT deflateParams(strm, level, strategy)
493 int strategy;
507 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXE
[all...]
H A Dgzlib.c121 state->strategy = Z_DEFAULT_STRATEGY;
155 state->strategy = Z_FILTERED;
158 state->strategy = Z_HUFFMAN_ONLY;
161 state->strategy = Z_RLE;
164 state->strategy = Z_FIXED;
H A Dzlib.h197 /* compression strategy; see deflateInit2() below for details */
532 int strategy));
564 The strategy parameter is used to tune the compression algorithm. Use the
574 strategy parameter only affects the compression ratio but not the
640 compression state which can be quite large, so this strategy is slow and can
662 int strategy));
664 Dynamically update the compression level and compression strategy. The
665 interpretation of level and strategy is as in deflateInit2. This can be
667 to switch to a different kind of input data requiring a different strategy.
1231 a strategy
[all...]
H A Dgzguts.h183 int strategy; /* compression strategy */ member in struct:__anon115
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/impl/
H A DCoreTokenAdapter.java56 private final TokenBlobStrategy strategy; field in class:CoreTokenAdapter
63 * @param strategy Required for binary object transformations.
70 public CoreTokenAdapter(TokenBlobStrategy strategy, TaskDispatcher dispatcher, ResultHandlerFactory handlerFactory, argument
72 this.strategy = strategy;
215 results.add(new PartialToken(p, CoreTokenField.BLOB, strategy.reverse(value)));
217 throw new CoreTokenException("Failed to reverse Blob strategy", e);
300 token.setBlob(strategy.perform(token.getBlob()));
302 throw new CoreTokenException("Failed to perform Token Blob strategy.", e);
308 token.setBlob(strategy
[all...]

Completed in 2506 milliseconds

123