Justin Richer
3b27fc61da
updated stats service to have a resettable cache triggered by other service events
...
Conflicts:
openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ClientDetailsEntityService.java
openid-connect-server/src/main/java/org/mitre/oauth2/web/OAuthConfirmationController.java
openid-connect-server/src/main/java/org/mitre/openid/connect/service/impl/DefaultApprovedSiteService.java
2014-08-13 22:45:06 -04:00
Justin Richer
da862acc7e
fixed bad JPQL in auth holder cleanup class
...
Conflicts:
openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java
2014-08-13 22:33:08 -04:00
kangelov
287dce5c02
Performance improvement of token cleanup:
...
an alternative token cleanup mechanism designed to maintain a very compact memory footprint while performing cleanup in consecutive runs of the cleanup thread. This serves to address OutOfMemoryException issues of the original token cleanup mechanism when process is under load. Also, added cleanup of the authentication_holder table.
Conflicts:
openid-connect-common/src/main/java/org/mitre/oauth2/model/AuthenticationHolderEntity.java
openid-connect-common/src/main/java/org/mitre/oauth2/repository/AuthenticationHolderRepository.java
openid-connect-server/src/main/java/org/mitre/oauth2/repository/impl/JpaAuthenticationHolderRepository.java
openid-connect-server/src/main/java/org/mitre/oauth2/service/impl/DefaultOAuth2ProviderTokenService.java
2014-08-13 22:29:57 -04:00
arielak
9d2ec0b845
Added export/import support for BlacklistedSites, broke out WhitelistedSites into distinct import/export operations, and did some general cleaning up
2014-08-13 21:53:12 -04:00
Justin Richer
db4dcaf5cb
cleaned up exporter, made some array exports null safe
2014-05-13 15:02:07 -04:00
arielak
317b9e8657
Changes to facilitate data export, additional robustness
2014-04-25 15:39:20 -04:00
arielak
775a0c6143
Added functions to some repositories to facilitate data export
2014-04-23 13:02:19 -04:00
Justin Richer
47a850abd8
Changed references of DefaultHttpClient to SystemDefaultHttpClient to inherit system proxy settings, should address #548
2014-01-31 14:23:26 -05:00
Justin Richer
88b4bfcae5
added skeleton of data import/export API
2014-01-27 15:13:01 -05:00
Amanda Anganes
e9c813e3da
Fixed typo
2013-09-23 14:30:51 -04:00
Amanda Anganes
a0b7b2dbff
Remove @PostConstruct from JWKSetKeyStore
2013-09-20 11:59:22 -04:00
Justin Richer
34a81c25dc
if there's only one key, return it as the default
2013-09-20 11:59:05 -04:00
Justin Richer
a769c972eb
spelling, property access, and cleanup
2013-09-20 11:59:01 -04:00
Justin Richer
6b96fbb4e9
refactored some json utils to their own static class
2013-09-20 11:58:48 -04:00
Justin Richer
1e120d90b5
added encryption method list to encryption/decryption service
2013-09-20 11:58:40 -04:00
William Kim
20b5adfd23
updated comments for jwe service.
2013-09-20 11:57:38 -04:00
William Kim
3b12765b9b
Updated nimbusds library version to 2.17.2 and made relevant changes in enc./dec. service and test
2013-09-20 11:57:32 -04:00
William Kim
1bdcf26443
changed encrypt/decrypt parameter to use JWEObject instead of EncryptedJWT
2013-09-20 11:57:30 -04:00
William Kim
4192350401
RSA encryption service tested.
2013-09-20 11:57:27 -04:00
William Kim
e5d64d8f2e
implemented symmetric key encryption.
2013-09-20 11:57:24 -04:00
William Kim
8cb72dc9de
encrypt/decrypt implemented. initial commit for unit testing of jwe service.
2013-09-20 11:57:22 -04:00
William Kim
59f13a66b6
jwe service accessor methods and private initializing method done.
2013-09-20 11:57:20 -04:00
William Kim
fc146433f9
jwe service init commit.
2013-09-20 11:57:18 -04:00
Justin Richer
b9f545d75b
added encryption/decryption to cached JWK-URI service
...
Conflicts:
openid-connect-server/src/main/java/org/mitre/openid/connect/ConnectOAuth2RequestFactory.java
2013-09-20 11:29:46 -04:00
Justin Richer
672efa722c
added additional discoverable fields to ServerConfig object
2013-09-20 11:27:46 -04:00
Amanda Anganes
07ac661910
Removed @PostConstruct; placed buildSignersAndVerifiers() calls inside both constructors.
2013-09-20 11:27:32 -04:00
Amanda Anganes
452b89414a
Added null check;
2013-09-20 11:27:30 -04:00
Amanda Anganes
678b6aa580
Testing removing extra method calls
2013-09-20 11:27:28 -04:00
Justin Richer
e11c0386d1
added transient passthroughs to JOSE algorithms for client
...
Conflicts:
openid-connect-server/src/main/java/org/mitre/openid/connect/ConnectOAuth2RequestFactory.java
2013-09-20 11:22:18 -04:00
Justin Richer
edeef5de23
added equality checks to data model objects
2013-09-20 11:19:17 -04:00
Justin Richer
aa2ec7ce0d
interceptor shouldn't ever overwrite stuff from the base model
2013-09-20 11:18:26 -04:00
Justin Richer
5c38a3393a
stopgap to prevent some leaks due to #492
2013-08-30 16:38:36 -04:00
Justin Richer
a59704559a
inject user's authorities into javascript context
2013-08-29 17:40:01 -04:00
Justin Richer
61acbbe3b8
inject the current user into the javascript context
...
Conflicts:
openid-connect-server/src/main/webapp/WEB-INF/tags/header.tag
2013-08-29 17:39:59 -04:00
Justin Richer
1840a67aad
explicitly try to initialize the JWK set if it's null by the time the getter is called
2013-08-22 14:26:06 -04:00
Justin Richer
9df10d3871
id tokens always expire, addresses #416
...
Conflicts:
openid-connect-server/src/main/webapp/resources/template/client.html
2013-08-20 16:07:25 -04:00
Justin Richer
682d9b9406
added 'use server default' to JOSE options, addresses #462
2013-08-20 14:46:35 -04:00
Amanda Anganes
f866e5addc
Use clients preferred algorithm, if any, to sign
2013-08-20 14:33:36 -04:00
Justin Richer
5c40539561
cached jwk services expire after an hour
2013-08-20 14:12:41 -04:00
Justin Richer
44f0e89048
I can spell "consortium"!
2013-08-14 14:15:42 -04:00
Amanda Anganes
f58141e6a7
Fixed token expiration bug by removing jsql queries. Instead expired tokens or approved sites are filtered at the repository level
...
Moved getExpired to service layers
Used Predicates to filter expired tokens and approved sites;
2013-08-09 13:55:41 -04:00
Justin Richer
e658ffd7fc
format/cleanup and copyright
2013-07-29 11:28:51 -04:00
Amanda Anganes
906db0ac86
Opened token api access to all users; restricted to only show currently-logged-in-users tokens
2013-07-29 09:18:08 -04:00
Justin Richer
fb448a246a
converted test data to map, use new serializer
2013-07-26 12:55:22 -04:00
Justin Richer
8edd6da136
added serializer for non-heirarchical URIs
2013-07-26 12:55:03 -04:00
Justin Richer
5893d8f8f8
fixed up parsing regular expression
2013-07-26 12:54:09 -04:00
William Kim
f565688e59
changed name issuer->normalized. the result of normalization is not necessarily the issuer.
2013-07-25 18:12:02 -04:00
William Kim
d80aaced9a
reorganized test data and test methods.
2013-07-25 17:56:33 -04:00
William Kim
809a243b64
tests for webfinger url normalization.
2013-07-25 15:00:10 -04:00
William Kim
eaa7298ef1
init commit for Webfinger normilizer utility class.
2013-07-25 12:15:50 -04:00