Searched refs:tokenType (Results 1 - 25 of 157) sorted by relevance

1234567

/forgerock/openam-v13/openam-core/src/main/java/org/forgerock/openam/cts/monitoring/impl/persistence/
H A DCtsPersistenceOperationsMonitor.java56 * @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 DCtsPersistenceOperationsMonitor.java56 * @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 DSTSIssuedTokenState.java40 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 DCtsPersistenceOperationsMonitorTest.java62 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 DSTSIssuedTokenState.java40 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 DCtsPersistenceOperationsMonitorTest.java62 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 DCtsCRUDOperationsPerTokenTypeEntryImpl.java114 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 DCtsCRUDOperationsPerTokenTypeEntryImpl.java113 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 DTokenOperationsStoreTest.java68 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 DTokenOperationsStoreTest.java68 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 DTokenGenerationServiceInvocationState.java38 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 DCTSTokenIdGenerator.java33 * @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 DIssuedTokenCancellerFactory.java31 * @param tokenType The TokenTypeId for which a RestIssuedTokenCanceller instance should be obtained
36 RestIssuedTokenCanceller getTokenCanceller(TokenTypeId tokenType) throws STSInitializationException; argument
H A DIssuedTokenCancellerFactoryImpl.java45 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 DIssuedTokenValidatorFactory.java29 * @param tokenType The TokenTypeId for which a RestIssuedTokenValidator instance should be obtained
34 RestIssuedTokenValidator getTokenValidator(TokenTypeId tokenType) throws STSInitializationException; argument
H A DIssuedTokenValidatorFactoryImpl.java45 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 DRestIssuedTokenCanceller.java28 * @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 DRestIssuedTokenValidator.java31 * @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 DTokenGenerationServiceInvocationState.java38 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 DCTSTokenIdGenerator.java33 * @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 DIssuedTokenCancellerFactory.java31 * @param tokenType The TokenTypeId for which a RestIssuedTokenCanceller instance should be obtained
36 RestIssuedTokenCanceller getTokenCanceller(TokenTypeId tokenType) throws STSInitializationException; argument
H A DIssuedTokenCancellerFactoryImpl.java45 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 DIssuedTokenValidatorFactory.java29 * @param tokenType The TokenTypeId for which a RestIssuedTokenValidator instance should be obtained
34 RestIssuedTokenValidator getTokenValidator(TokenTypeId tokenType) throws STSInitializationException; argument
H A DIssuedTokenValidatorFactoryImpl.java45 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 DRestIssuedTokenCanceller.java28 * @param tokenType the type of the to-be-cancelled token
31 boolean canCancelToken(TokenTypeId tokenType); argument

Completed in 48 milliseconds

1234567