File osgiInstanceDir = KernelUtils.getOsgiInstanceDir();
File homeDir = new File(osgiInstanceDir, "node");
- String baseNodeRoleDn = KernelConstants.ROLES_BASEDN;
+ String baseNodeRoleDn = KernelHeader.ROLES_BASEDN;
File nodeRolesFile = new File(homeDir, baseNodeRoleDn + ".ldif");
try {
FileUtils.copyInputStreamToFile(
@Override
public Authentication authenticate(Authentication authentication)
throws AuthenticationException {
+// throw new UnsupportedOperationException(
+// "Authentication manager is deprectaed and should not be used.");
Authentication auth = null;
if (authentication instanceof InternalAuthentication)
auth = internalAuth.authenticate(authentication);