git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1244
ab3bd59b-922f-494d-bb5f-
6f0a3c29deca
throw new IllegalArgumentException("A principal must be supplied for Attribute Query Handle creation.");
}
- String handle = new String(config.getDefaultIDProvider().generateRandomBytes(36));
+ String handle = new String(config.getDefaultIDProvider().generateRandomBytes(16));
log.debug("Assigning handle (" + handle + ") to principal (" + principal.getName() + ").");
synchronized (cache.handleEntries) {
cache.handleEntries.put(handle, createHandleEntry(principal));