/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/monitoring/impl/persistence/ |
H A D | CtsPersistenceOperationsMonitor.java | 56 * @param tokenType the token type we're looking up 60 public Long getTotalCount(TokenType tokenType) throws CoreTokenException { argument 62 if (tokenType == null) { 66 return (long) delegate.countTokenEntries(tokenType); 72 * @param tokenType the token type we're looking up 76 public Long getAverageDuration(TokenType tokenType) throws CoreTokenException { argument 79 if (tokenType == null) { 83 final Collection<Long> queryResults = delegate.listDurationOfTokens(tokenType);
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/cts/monitoring/impl/persistence/ |
H A D | CtsPersistenceOperationsMonitor.java | 56 * @param tokenType the token type we're looking up 60 public Long getTotalCount(TokenType tokenType) throws CoreTokenException { argument 62 if (tokenType == null) { 66 return (long) delegate.countTokenEntries(tokenType); 72 * @param tokenType the token type we're looking up 76 public Long getAverageDuration(TokenType tokenType) throws CoreTokenException { argument 79 if (tokenType == null) { 83 final Collection<Long> queryResults = delegate.listDurationOfTokens(tokenType);
|
/forgerock/openam-v13/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/ |
H A D | STSIssuedTokenState.java | 40 private String tokenType; field in class:STSIssuedTokenState.STSIssuedTokenStateBuilder 58 public STSIssuedTokenStateBuilder tokenType(String tokenType) { argument 59 this.tokenType = tokenType; 81 private final String tokenType; field in class:STSIssuedTokenState 88 tokenType = builder.tokenType; 105 return tokenType; 127 Objects.equal(this.tokenType, otherStat [all...] |
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/monitoring/impl/persistence/ |
H A D | CtsPersistenceOperationsMonitorTest.java | 62 final TokenType tokenType = null; 65 opsMonitor.getTotalCount(tokenType); 74 final TokenType tokenType = null; 77 opsMonitor.getAverageDuration(tokenType); 88 final TokenType tokenType = TokenType.SESSION; 93 given(delegate.listDurationOfTokens(tokenType)).willReturn(results); 96 final Long result = opsMonitor.getAverageDuration(tokenType); 110 final TokenType tokenType = TokenType.SESSION; 116 given(delegate.listDurationOfTokens(tokenType)).willReturn(results); 119 final Long result = opsMonitor.getAverageDuration(tokenType); [all...] |
/forgerock/openam/openam-sts/openam-client-sts/src/main/java/org/forgerock/openam/sts/user/invocation/ |
H A D | STSIssuedTokenState.java | 40 private String tokenType; field in class:STSIssuedTokenState.STSIssuedTokenStateBuilder 58 public STSIssuedTokenStateBuilder tokenType(String tokenType) { argument 59 this.tokenType = tokenType; 81 private final String tokenType; field in class:STSIssuedTokenState 88 tokenType = builder.tokenType; 105 return tokenType; 127 Objects.equal(this.tokenType, otherStat [all...] |
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/monitoring/impl/persistence/ |
H A D | CtsPersistenceOperationsMonitorTest.java | 62 final TokenType tokenType = null; 65 opsMonitor.getTotalCount(tokenType); 74 final TokenType tokenType = null; 77 opsMonitor.getAverageDuration(tokenType); 88 final TokenType tokenType = TokenType.SESSION; 93 given(delegate.listDurationOfTokens(tokenType)).willReturn(results); 96 final Long result = opsMonitor.getAverageDuration(tokenType); 110 final TokenType tokenType = TokenType.SESSION; 116 given(delegate.listDurationOfTokens(tokenType)).willReturn(results); 119 final Long result = opsMonitor.getAverageDuration(tokenType); [all...] |
/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/monitoring/cts/ |
H A D | CtsCRUDOperationsPerTokenTypeEntryImpl.java | 114 final TokenType tokenType = getTokenType(); 117 if (tokenType == null || operation == null) { 131 final TokenType tokenType = getTokenType(); 134 if (tokenType == null || operation == null) { 148 final TokenType tokenType = getTokenType(); 151 if (tokenType == null || operation == null) { 165 final TokenType tokenType = getTokenType(); 168 if (tokenType == null || operation == null) {
|
/forgerock/openam/openam-core/src/main/java/org/forgerock/openam/monitoring/cts/ |
H A D | CtsCRUDOperationsPerTokenTypeEntryImpl.java | 113 final TokenType tokenType = getTokenType(); 116 if (tokenType == null || operation == null) { 130 final TokenType tokenType = getTokenType(); 133 if (tokenType == null || operation == null) { 148 final TokenType tokenType = getTokenType(); 151 if (tokenType == null || operation == null) { 165 final TokenType tokenType = getTokenType(); 168 if (tokenType == null || operation == null) {
|
/forgerock/openam-v13/openam-core/src/test/java/org/forgerock/openam/cts/monitoring/impl/operations/ |
H A D | TokenOperationsStoreTest.java | 68 TokenType tokenType = TokenType.OAUTH; 75 tokenOperationsStore.addTokenOperation(tokenType, operation, true); 86 TokenType tokenType = TokenType.OAUTH; 93 tokenOperationsStore.addTokenOperation(tokenType, operation, true); 109 TokenType tokenType = TokenType.OAUTH; 113 localTokenOperationsStore.addTokenOperation(tokenType, operation, true); 136 TokenType tokenType = TokenType.OAUTH; 144 double result = tokenOperationsStore.getAverageOperationsPerPeriod(tokenType, operation); 172 TokenType tokenType = TokenType.OAUTH; 176 double result = tokenOperationsStore.getAverageOperationsPerPeriod(tokenType, operatio [all...] |
/forgerock/openam/openam-core/src/test/java/org/forgerock/openam/cts/monitoring/impl/operations/ |
H A D | TokenOperationsStoreTest.java | 68 TokenType tokenType = TokenType.OAUTH; 75 tokenOperationsStore.addTokenOperation(tokenType, operation, true); 86 TokenType tokenType = TokenType.OAUTH; 93 tokenOperationsStore.addTokenOperation(tokenType, operation, true); 109 TokenType tokenType = TokenType.OAUTH; 113 localTokenOperationsStore.addTokenOperation(tokenType, operation, true); 136 TokenType tokenType = TokenType.OAUTH; 144 double result = tokenOperationsStore.getAverageOperationsPerPeriod(tokenType, operation); 172 TokenType tokenType = TokenType.OAUTH; 176 double result = tokenOperationsStore.getAverageOperationsPerPeriod(tokenType, operatio [all...] |
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/service/invocation/ |
H A D | TokenGenerationServiceInvocationState.java | 38 private TokenType tokenType; field in class:TokenGenerationServiceInvocationState.TokenGenerationServiceInvocationStateBuilder 50 public TokenGenerationServiceInvocationStateBuilder tokenType(TokenType tokenType) { argument 51 this.tokenType = tokenType; 88 private static final String TOKEN_TYPE = "tokenType"; 96 private final TokenType tokenType; field in class:TokenGenerationServiceInvocationState 105 this.tokenType = builder.tokenType; 112 Reject.ifNull(tokenType, "Toke [all...] |
/forgerock/openam-v13/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/ |
H A D | CTSTokenIdGenerator.java | 33 * @param tokenType the type of token for which an id must be generated 38 String generateTokenId(TokenType tokenType, String tokenString) throws TokenIdGenerationException; argument
|
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/operation/cancel/ |
H A D | IssuedTokenCancellerFactory.java | 31 * @param tokenType The TokenTypeId for which a RestIssuedTokenCanceller instance should be obtained 36 RestIssuedTokenCanceller getTokenCanceller(TokenTypeId tokenType) throws STSInitializationException; argument
|
H A D | IssuedTokenCancellerFactoryImpl.java | 45 public RestIssuedTokenCanceller getTokenCanceller(TokenTypeId tokenType) throws STSInitializationException { argument 46 if (TokenType.SAML2.getId().equals(tokenType.getId())) { 48 } else if (TokenType.OPENIDCONNECT.getId().equals(tokenType.getId())) { 52 "available for cancellation. Illegal validation token type: " + tokenType.getId());
|
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/operation/validate/ |
H A D | IssuedTokenValidatorFactory.java | 29 * @param tokenType The TokenTypeId for which a RestIssuedTokenValidator instance should be obtained 34 RestIssuedTokenValidator getTokenValidator(TokenTypeId tokenType) throws STSInitializationException; argument
|
H A D | IssuedTokenValidatorFactoryImpl.java | 45 public RestIssuedTokenValidator getTokenValidator(TokenTypeId tokenType) throws STSInitializationException { argument 46 if (TokenType.SAML2.getId().equals(tokenType.getId())) { 48 } else if (TokenType.OPENIDCONNECT.getId().equals(tokenType.getId())) { 52 "available for validation. Illegal validation token type: " + tokenType.getId());
|
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/token/canceller/ |
H A D | RestIssuedTokenCanceller.java | 28 * @param tokenType the type of the to-be-cancelled token 31 boolean canCancelToken(TokenTypeId tokenType); argument
|
/forgerock/openam-v13/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/token/validator/ |
H A D | RestIssuedTokenValidator.java | 31 * @param tokenType the type of the to-be-validated token 34 boolean canValidateToken(TokenTypeId tokenType); argument
|
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/service/invocation/ |
H A D | TokenGenerationServiceInvocationState.java | 38 private TokenType tokenType; field in class:TokenGenerationServiceInvocationState.TokenGenerationServiceInvocationStateBuilder 50 public TokenGenerationServiceInvocationStateBuilder tokenType(TokenType tokenType) { argument 51 this.tokenType = tokenType; 88 private static final String TOKEN_TYPE = "tokenType"; 96 private final TokenType tokenType; field in class:TokenGenerationServiceInvocationState 105 this.tokenType = builder.tokenType; 112 Reject.ifNull(tokenType, "Toke [all...] |
/forgerock/openam/openam-sts/openam-common-sts/src/main/java/org/forgerock/openam/sts/token/ |
H A D | CTSTokenIdGenerator.java | 33 * @param tokenType the type of token for which an id must be generated 38 String generateTokenId(TokenType tokenType, String tokenString) throws TokenIdGenerationException; argument
|
/forgerock/openam/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/operation/cancel/ |
H A D | IssuedTokenCancellerFactory.java | 31 * @param tokenType The TokenTypeId for which a RestIssuedTokenCanceller instance should be obtained 36 RestIssuedTokenCanceller getTokenCanceller(TokenTypeId tokenType) throws STSInitializationException; argument
|
H A D | IssuedTokenCancellerFactoryImpl.java | 45 public RestIssuedTokenCanceller getTokenCanceller(TokenTypeId tokenType) throws STSInitializationException { argument 46 if (TokenType.SAML2.getId().equals(tokenType.getId())) { 48 } else if (TokenType.OPENIDCONNECT.getId().equals(tokenType.getId())) { 52 "available for cancellation. Illegal validation token type: " + tokenType.getId());
|
/forgerock/openam/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/operation/validate/ |
H A D | IssuedTokenValidatorFactory.java | 29 * @param tokenType The TokenTypeId for which a RestIssuedTokenValidator instance should be obtained 34 RestIssuedTokenValidator getTokenValidator(TokenTypeId tokenType) throws STSInitializationException; argument
|
H A D | IssuedTokenValidatorFactoryImpl.java | 45 public RestIssuedTokenValidator getTokenValidator(TokenTypeId tokenType) throws STSInitializationException { argument 46 if (TokenType.SAML2.getId().equals(tokenType.getId())) { 48 } else if (TokenType.OPENIDCONNECT.getId().equals(tokenType.getId())) { 52 "available for validation. Illegal validation token type: " + tokenType.getId());
|
/forgerock/openam/openam-sts/openam-rest-sts/src/main/java/org/forgerock/openam/sts/rest/token/canceller/ |
H A D | RestIssuedTokenCanceller.java | 28 * @param tokenType the type of the to-be-cancelled token 31 boolean canCancelToken(TokenTypeId tokenType); argument
|