Revision 41936
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.impl/src/main/java/org/gvsig/fmap/dal/impl/DALDefaultImplLibrary.java | ||
---|---|---|
66 | 66 |
import org.gvsig.tools.ToolsLocator; |
67 | 67 |
import org.gvsig.tools.dynobject.DynClass; |
68 | 68 |
import org.gvsig.tools.dynobject.DynObjectManager; |
69 |
import org.gvsig.tools.identitymanagement.SimpleIdentityManager; |
|
69 | 70 |
import org.gvsig.tools.library.AbstractLibrary; |
70 | 71 |
import org.gvsig.tools.library.LibraryException; |
71 | 72 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
... | ... | |
104 | 105 |
exs.add(e); |
105 | 106 |
} |
106 | 107 |
|
108 |
SimpleIdentityManager identityManager = ToolsLocator.getIdentityManager(); |
|
109 |
identityManager.registerAction(DataManager.CREATE_STORE_AUTHORIZATION); |
|
110 |
identityManager.registerAction(DataManager.READ_STORE_AUTHORIZATION); |
|
111 |
identityManager.registerAction(DataManager.WRITE_STORE_AUTHORIZATION); |
|
112 |
|
|
113 |
|
|
107 | 114 |
DefaultFeatureQuery.registerPersistent(); |
108 | 115 |
DefaultFeatureReference.registerPersistent(); |
109 | 116 |
DefaultFeatureStoreTransforms.registerPersistent(); |
trunk/org.gvsig.desktop/org.gvsig.desktop.framework/org.gvsig.andami/src/main/java/org/gvsig/andami/actioninfo/impl/DefaultActionInfoManager.java | ||
---|---|---|
35 | 35 |
import org.gvsig.andami.actioninfo.ActionInfoManager; |
36 | 36 |
import org.gvsig.andami.actioninfo.ActionInfoStatusCache; |
37 | 37 |
import org.gvsig.andami.plugins.IExtension; |
38 |
import org.gvsig.tools.ToolsLocator; |
|
39 |
import org.gvsig.tools.identitymanagement.SimpleIdentityManager; |
|
38 | 40 |
import org.slf4j.Logger; |
39 | 41 |
import org.slf4j.LoggerFactory; |
40 | 42 |
|
... | ... | |
89 | 91 |
return previous; |
90 | 92 |
} else { |
91 | 93 |
this.actions.put(action.getName(), action); |
94 |
SimpleIdentityManager identityManager = ToolsLocator.getIdentityManager(); |
|
95 |
identityManager.registerAction(action.getName()); |
|
92 | 96 |
return action; |
93 | 97 |
} |
94 | 98 |
} |
Also available in: Unified diff