public class AuthorizationManagerImpl extends java.lang.Object implements ConfigurationFactory
| Constructor and Description |
|---|
AuthorizationManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(BundleContext context) |
|
authorize(AuthorizationContext context,
AuthorizationResult defaultResult)
Single shot authorization
|
Monitor |
createMonitor(Listener listener,
AuthorizationRequest request) |
void |
deactivate() |
void |
delete(UserInformation userInformation,
java.lang.String configurationId)
receive configuration delete request
|
void |
disposeMonitor(MonitorImpl monitor) |
AuthorizationService |
findService(java.lang.String serviceType) |
protected java.lang.Iterable<ConfigurationEntry> |
getCurrentRules() |
void |
list() |
protected void |
performRevalidate(MonitorImpl monitor) |
void |
revalidateAll() |
void |
update(UserInformation userInformation,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> parameters)
receive configuration update
|
public void activate(BundleContext context)
public void deactivate()
public Monitor createMonitor(Listener listener,
AuthorizationRequest request)
public void disposeMonitor(MonitorImpl monitor)
public void revalidateAll()
protected void performRevalidate(MonitorImpl monitor)
protected java.lang.Iterable<ConfigurationEntry> getCurrentRules()
publicauthorize(AuthorizationContext context, AuthorizationResult defaultResult)
public void update(UserInformation userInformation,
java.lang.String configurationId,
java.util.Map<java.lang.String,java.lang.String> parameters)
throws java.lang.Exception
ConfigurationFactoryupdate in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changeparameters - the new propertiesjava.lang.Exception - can be thrown if anything goes wrong changing the configurationpublic void delete(UserInformation userInformation,
java.lang.String configurationId)
throws java.lang.Exception
ConfigurationFactorydelete in interface ConfigurationFactoryuserInformation - the principal that performed the change, may be nullconfigurationId - the configuration object to changejava.lang.Exception - can be thrown if anything goes wrong changing the configurationpublic AuthorizationService findService(java.lang.String serviceType)
public void list()
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0