Comments (1)
Just maybe: if there are no IdRepo plugins (aside from the "special" plugin) that support the membersType at the moment, an empty set is returned and this is cached. I don't know why this may happen, but I think there are signs of it.
Given this in IdServicesImpl:
if (!idRepo.getSupportedTypes().contains(membersType) ||
idRepo.getClass().getName().equals(IdConstants.SPECIAL_PLUGIN)) {
// IdRepo plugin does not support the idType for
// memberships
noOfSuccess--;
continue;
}
...
if (noOfSuccess == 0) {
if (DEBUG.warningEnabled()) {
DEBUG.warning(
"IdServicesImpl.getMembers: "
+ "Unable to get members for identity " + type.getName()
+ "::" + name + " in any configured data store", origEx);
}
if (origEx != null) {
throw origEx;
} else {
return (Collections.EMPTY_SET);
}
} else {
In IdRepo log:
amIdm:10/12/2023 11:19:56:729 pm SGT: Thread[http-nio-9090-exec-16,5,main]: TransactionId[d7046390-39a8-47de-89f6-1a3d03dfcef4-17795]
IdCachedServicesImpl.getMemberships(): NO entry found in Cache for key = id=admin,ou=user,o=iot_platform,o=wisx,ou=services,dc=openam,dc=forgerock,dc=org. Getting members from DS:
...
amIdm:10/12/2023 11:19:56:745 pm SGT: Thread[http-nio-9090-exec-16,5,main]: TransactionId[d7046390-39a8-47de-89f6-1a3d03dfcef4-17795]
IdRepoPluginsCache.getIdRepoPlugins for OrgName: o=IOT_PLATFORM,o=WISX,ou=services,dc=openam,dc=forgerock,dc=org Op: Operation: read Type: IdType: user
DJLDAPv3Repo:10/12/2023 11:19:56:745 pm SGT: Thread[http-nio-9090-exec-16,5,main]: TransactionId[d7046390-39a8-47de-89f6-1a3d03dfcef4-17795]
getSupportedTypes invoked
amIdm:10/12/2023 11:19:56:745 pm SGT: Thread[http-nio-9090-exec-16,5,main]: TransactionId[d7046390-39a8-47de-89f6-1a3d03dfcef4-17795]
WARNING: IdServicesImpl.getMemberships: Unable to get members for identity user::admin in any configured data store
And then in the Policy log, without any case of "getMemberships(): NO entry found in Cache for key" (implies a cache hit):
amPolicy:10/12/2023 11:20:05:703 pm SGT: Thread[http-nio-9090-exec-10,5,main]: TransactionId[d7046390-39a8-47de-89f6-1a3d03dfcef4-17865]
IdentitySubject.isMember():userIdentity type IdType: user can be a member of subjectIdentityType IdType: group:membership=false
The next case of "getMemberships(): NO entry found in Cache for key" is at 10/12/2023 11:20:12:241 pm SGT.
from openam.
Related Issues (20)
- RESTful User Self-Service APIs: Cannot find suitable translation from given choices
- Admin interface unresponsive after a few days HOT 8
- device flow refresh_token creation time 0
- Using docker buildx causes 500 level error HOT 4
- SessionConstraint may cause a hang HOT 4
- Configuring OpenID Connect may cause a hang if a token cannot be obtained by logging in dsamuser HOT 1
- ssoadm not working when using SSL connection to config store in Java 11 HOT 2
- About OAuth2.0 Redirection URIs "?" mark HOT 8
- Docker file issue HOT 4
- Building web policy agent from quistart guide is not working HOT 4
- Due to dependency of xmlsec-2.1.7 in the openam-federationCaused by: java.lang.AbstractMethodError HOT 1
- OAuth2 JWT Bearer Client Profile Flow fails with SHA256withRSA HOT 1
- Integration with Biometric APIs HOT 1
- Issue creating OpenAM install from config file HOT 2
- Version button brings up an error HOT 5
- Logging on with XUI gives User name/password combination is invalid. HOT 2
- Creating default configuration fails with fatal error: cannot obtain application SSO token HOT 1
- Privilege assignment to Group fails
- LDAP Authentication Page not fully translated in en_GB HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openam.