public abstract class RepositoryUserManager extends Lifecycle implements IUserManager, IAuthenticator
| Modifier and Type | Class and Description |
|---|---|
static class |
RepositoryUserManager.RepositoryAuthenticatorFactory
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
RepositoryUserManager.RepositoryInjector
If the meaning of this type isn't clear, there really should be more of a description here...
|
static class |
RepositoryUserManager.RepositoryUserManagerFactory
If the meaning of this type isn't clear, there really should be more of a description here...
|
ILifecycle.DeferrableActivation| Modifier | Constructor and Description |
|---|---|
protected |
RepositoryUserManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(java.lang.String userID,
char[] password) |
void |
authenticate(java.lang.String userID,
char[] password) |
byte[] |
encrypt(java.lang.String userID,
byte[] data,
java.lang.String algorithmName,
byte[] salt,
int count) |
protected abstract char[] |
getPassword(IRepository repository,
java.lang.String userID) |
protected char[] |
getPassword(java.lang.String userID) |
protected IRepository |
getRepository(IManagedContainer container,
java.lang.String repositoryName) |
static void |
prepareContainer(IManagedContainer container,
RepositoryUserManager.RepositoryUserManagerFactory factory) |
void |
removeUser(java.lang.String userID) |
activate, checkActive, checkArg, checkArg, checkInactive, checkNull, checkState, checkState, deactivate, deferredActivate, doActivate, doAfterActivate, doBeforeActivate, doBeforeDeactivate, doDeactivate, dump, getLifecycleState, isActive, isDeferredActivation, toStringaddListener, fireEvent, fireEvent, fireEvent, fireThrowable, firstListenerAdded, getListeners, getNotificationService, hasListeners, lastListenerRemoved, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddListener, getListeners, hasListeners, removeListenerpublic void addUser(java.lang.String userID,
char[] password)
addUser in interface IUserManagerpublic void removeUser(java.lang.String userID)
removeUser in interface IUserManagerpublic byte[] encrypt(java.lang.String userID,
byte[] data,
java.lang.String algorithmName,
byte[] salt,
int count)
throws java.lang.SecurityException
encrypt in interface IUserManagerjava.lang.SecurityExceptionpublic void authenticate(java.lang.String userID,
char[] password)
throws java.lang.SecurityException
authenticate in interface IAuthenticatorjava.lang.SecurityExceptionprotected IRepository getRepository(IManagedContainer container, java.lang.String repositoryName)
protected char[] getPassword(java.lang.String userID)
protected abstract char[] getPassword(IRepository repository, java.lang.String userID)
public static void prepareContainer(IManagedContainer container, RepositoryUserManager.RepositoryUserManagerFactory factory)
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html