[midPoint-git] [Evolveum/midpoint] 33b4f3: NPE fix during authentication of non existing midp...
Viliam Repan
vilo.repan at evolveum.com
Thu Apr 2 11:51:20 CEST 2015
Branch: refs/heads/master
Home: https://github.com/Evolveum/midpoint
Commit: 33b4f327d16de1f27a20588ffed26eb0682bac1d
https://github.com/Evolveum/midpoint/commit/33b4f327d16de1f27a20588ffed26eb0682bac1d
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2015-04-02 (Thu, 02 Apr 2015)
Changed paths:
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/PasswordCallback.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/UserProfileServiceImpl.java
Log Message:
-----------
NPE fix during authentication of non existing midpoint user.
Commit: d9ce72686349c8f2ba9ae2a634483060aed376e0
https://github.com/Evolveum/midpoint/commit/d9ce72686349c8f2ba9ae2a634483060aed376e0
Author: Viliam Repan <vilo.repan at evolveum.com>
Date: 2015-04-02 (Thu, 02 Apr 2015)
Changed paths:
M config/sql/midpoint/3.1.1/h2/h2-3.1.1.sql
M config/sql/midpoint/3.1.1/h2/h2-upgrade-3.1-3.1.1.sql
M config/sql/midpoint/3.1.1/mysql/mysql-3.1.1.sql
M config/sql/midpoint/3.1.1/mysql/mysql-upgrade-3.1-3.1.1.sql
M config/sql/midpoint/3.1.1/oracle/oracle-3.1.1.sql
M config/sql/midpoint/3.1.1/oracle/oracle-upgrade-3.1-3.1.1.sql
M config/sql/midpoint/3.1.1/postgresql/postgresql-3.1.1.sql
M config/sql/midpoint/3.1.1/postgresql/postgresql-upgrade-3.1-3.1.1.sql
M config/sql/midpoint/3.1.1/sqlserver/sqlserver-3.1.1.sql
M config/sql/midpoint/3.1.1/sqlserver/sqlserver-upgrade-3.1-3.1.1.sql
M gui/admin-gui/src/main/java/com/evolveum/midpoint/init/InitialDataImport.java
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/AutoCompleteTextPanel.html
A gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/input/AutoCompleteTextPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismContainerPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismObjectPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismPropertyPanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/PrismValuePanel.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/prism/ValueWrapper.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/component/wizard/resource/ConfigurationStep.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/configuration/PageDebugView.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/resources/content/PageAccount.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/roles/PageRole.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageOrgUnit.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/PageUser.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/component/AssignableRolePopupContent.html
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/users/component/AssignableRolePopupContent.java
M gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/workflow/PageWorkItem.java
M gui/admin-gui/src/test/java/com/evolveum/midpoint/web/TestCleanStartup.java
M infra/schema/src/main/resources/xml/ns/public/common/common-3.xsd
M infra/schema/src/main/resources/xml/ns/public/model/workflow/common-forms-3.xsd
M infra/schema/src/test/java/com/evolveum/midpoint/schema/util/SchemaTestUtil.java
A infra/test-util/src/main/java/com/evolveum/midpoint/test/util/LogfileTestTailer.java
M infra/test-util/src/main/resources/test-data/opendj-4000.template/config/config.ldif
M infra/test-util/src/main/resources/test-data/opendj.template/config/config.ldif
A infra/util/src/main/java/com/evolveum/midpoint/util/exception/AuthorizationException.java
M model/model-client/src/main/java/com/evolveum/midpoint/model/client/ModelClientUtil.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebService.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/ModelWebServiceRaw.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/controller/ModelController.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/Clockwork.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/MidpointRestAuthenticationHandler.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/PasswordCallback.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/PasswordCallbackException.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/SecurityHelper.java
M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/SpringAuthenticationInjectorInterceptor.java
A model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/security/WsFaultListener.java
M model/model-impl/src/main/resources/ctx-model.xml
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/TestLoggingConfiguration.java
M model/model-intest/src/test/java/com/evolveum/midpoint/model/intest/scripting/TestScriptingBasic.java
R model/model-test/src/main/java/com/evolveum/midpoint/model/test/LogfileTestTailer.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/addrole/AddRoleVariableNames.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/itemApproval/ApprovalLevelImpl.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/itemApproval/ApprovalRequestImpl.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/modifyAssignment/AssignmentModification.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/modifyResourceAssignment/ResourceAssignmentModification.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processes/modifyRoleAssignment/AbstractRoleAssignmentModification.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/general/GeneralChangeProcessor.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/aspect/PrimaryChangeAspectHelper.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddAbstractRoleAbstractRoleAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddAbstractRoleAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddAbstractRoleResourceAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddResourceAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddUserAbstractRoleAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AddUserResourceAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/AssignmentHelper.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyAbstractRoleAbstractRoleAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyAbstractRoleAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyAbstractRoleResourceAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyResourceAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyUserAbstractRoleAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ModifyUserResourceAssignmentAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/ResourceAssignmentHelper.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/assignments/RoleAssignmentHelper.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/objects/AddAbstractRoleAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/objects/AddObjectAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/objects/AddResourceAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/objects/AddUserAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/other/AddAbstractRoleAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/other/AddObjectAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/other/AddResourceAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/other/AddUserAspect.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/other/ChangePasswordAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/AbstractAddAssignmentAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/AddResourceAssignmentAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/AddRoleAssignmentAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/AssignmentHelper.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/ChangePasswordAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/ModifyResourceAssignmentAspect.java
R model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/processors/primary/user/ModifyRoleAssignmentAspect.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/util/JaxbValueContainer.java
M model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/util/SerializationSafeContainer.java
A model/workflow-impl/src/main/java/com/evolveum/midpoint/wf/impl/util/SingleItemSerializationSafeContainerImpl.java
M repo/repo-sql-impl/src/main/java/com/evolveum/midpoint/repo/sql/data/common/other/RLookupTableRow.java
M repo/security-api/src/main/java/com/evolveum/midpoint/security/api/AuthorizationConstants.java
M repo/security-impl/src/main/java/com/evolveum/midpoint/security/impl/SecurityEnforcerImpl.java
M repo/system-init/pom.xml
M repo/system-init/src/main/java/com/evolveum/midpoint/init/StartupConfiguration.java
M samples/model-client-sample/src/main/java/com/evolveum/midpoint/testing/model/client/sample/Main.java
M testing/consistency-mechanism/.gitignore
M testing/consistency-mechanism/src/test/java/com/evolveum/midpoint/testing/consistency/ConsistencyTest.java
M testing/consistency-mechanism/src/test/resources/repo/resource-opendj.xml
A testing/consistency-mechanism/src/test/resources/request/usersOu.ldif
M testing/rest/src/test/java/com/evolveum/midpoint/testing/rest/TestRestService.java
M testing/wstest/pom.xml
M testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/AbstractWebserviceTest.java
A testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/ClientPasswordHandler.java
M testing/wstest/src/test/java/com/evolveum/midpoint/testing/wstest/WebserviceSecurityTest.java
A testing/wstest/src/test/resources/common/role-reader.xml
A testing/wstest/src/test/resources/common/role-ws.xml
A testing/wstest/src/test/resources/common/user-cyclops.xml
A testing/wstest/src/test/resources/common/user-nobody.xml
A testing/wstest/src/test/resources/common/user-somebody.xml
A testing/wstest/src/test/resources/logback-test.xml
A testing/wstest/src/test/resources/logging.properties
A testing/wstest/testng.xml
Log Message:
-----------
Merge branch 'master' of github.com:Evolveum/midpoint
Compare: https://github.com/Evolveum/midpoint/compare/62d7f16eda59...d9ce72686349
More information about the midPoint-svn
mailing list