diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/build/checkstyle-import.xml b/build/checkstyle-import.xml old mode 100644 new mode 100755 diff --git a/build/checkstyle.xml b/build/checkstyle.xml old mode 100644 new mode 100755 diff --git a/build/license-header-java.txt b/build/license-header-java.txt old mode 100644 new mode 100755 diff --git a/build/license-header-jsp.txt b/build/license-header-jsp.txt old mode 100644 new mode 100755 diff --git a/build/license-header-properties.txt b/build/license-header-properties.txt old mode 100644 new mode 100755 diff --git a/build/license-header-xml.txt b/build/license-header-xml.txt old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.jar b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.jar old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.jar.md5 b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.jar.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.jar.sha1 b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.jar.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.pom b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.pom old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.pom.md5 b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.pom.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.pom.sha1 b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/2013.04.18/ChallengeResponseLCM-2013.04.18.pom.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/maven-metadata.xml b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/maven-metadata.xml old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/maven-metadata.xml.md5 b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/maven-metadata.xml.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/maven-metadata.xml.sha1 b/build/local-maven-repo/com/novell/security/nmas/ChallengeResponseLCM/maven-metadata.xml.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.jar b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.jar old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.jar.md5 b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.jar.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.jar.sha1 b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.jar.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.pom b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.pom old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.pom.md5 b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.pom.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.pom.sha1 b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/2013.04.26/NMASToolkit-2013.04.26.pom.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/maven-metadata.xml b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/maven-metadata.xml old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/maven-metadata.xml.md5 b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/maven-metadata.xml.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/maven-metadata.xml.sha1 b/build/local-maven-repo/com/novell/security/nmas/NMASToolkit/maven-metadata.xml.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.jar b/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.jar old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.jar.md5 b/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.jar.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.jar.sha1 b/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.jar.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.pom b/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.pom old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.pom.md5 b/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.pom.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.pom.sha1 b/build/local-maven-repo/com/novell/security/nmas/ldap/2013.04.26/ldap-2013.04.26.pom.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/maven-metadata.xml b/build/local-maven-repo/com/novell/security/nmas/ldap/maven-metadata.xml old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/maven-metadata.xml.md5 b/build/local-maven-repo/com/novell/security/nmas/ldap/maven-metadata.xml.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/ldap/maven-metadata.xml.sha1 b/build/local-maven-repo/com/novell/security/nmas/ldap/maven-metadata.xml.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.jar b/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.jar old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.jar.md5 b/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.jar.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.jar.sha1 b/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.jar.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.pom b/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.pom old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.pom.md5 b/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.pom.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.pom.sha1 b/build/local-maven-repo/com/novell/security/nmas/nmasclient/2013.04.26/nmasclient-2013.04.26.pom.sha1 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/maven-metadata.xml b/build/local-maven-repo/com/novell/security/nmas/nmasclient/maven-metadata.xml old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/maven-metadata.xml.md5 b/build/local-maven-repo/com/novell/security/nmas/nmasclient/maven-metadata.xml.md5 old mode 100644 new mode 100755 diff --git a/build/local-maven-repo/com/novell/security/nmas/nmasclient/maven-metadata.xml.sha1 b/build/local-maven-repo/com/novell/security/nmas/nmasclient/maven-metadata.xml.sha1 old mode 100644 new mode 100755 diff --git a/build/spotbugs-exclude.xml b/build/spotbugs-exclude.xml old mode 100644 new mode 100755 diff --git a/client/.gitignore b/client/.gitignore old mode 100644 new mode 100755 diff --git a/client/README.md b/client/README.md old mode 100644 new mode 100755 diff --git a/client/images/icons/m_circle-horz-menu_thin.svg b/client/images/icons/m_circle-horz-menu_thin.svg old mode 100644 new mode 100755 diff --git a/client/images/icons/wait_25.gif b/client/images/icons/wait_25.gif old mode 100644 new mode 100755 diff --git a/client/package-lock.json b/client/package-lock.json old mode 100644 new mode 100755 diff --git a/client/package.json b/client/package.json old mode 100644 new mode 100755 diff --git a/client/pom.xml b/client/pom.xml old mode 100644 new mode 100755 diff --git a/client/src/component.ts b/client/src/component.ts old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/autogen-change-password.component.html b/client/src/components/changepassword/autogen-change-password.component.html old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/autogen-change-password.component.scss b/client/src/components/changepassword/autogen-change-password.component.scss old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/autogen-change-password.controller.ts b/client/src/components/changepassword/autogen-change-password.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/random-change-password.component.html b/client/src/components/changepassword/random-change-password.component.html old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/random-change-password.controller.ts b/client/src/components/changepassword/random-change-password.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/success-change-password.component.html b/client/src/components/changepassword/success-change-password.component.html old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/success-change-password.controller.ts b/client/src/components/changepassword/success-change-password.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/type-change-password.component.html b/client/src/components/changepassword/type-change-password.component.html old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/type-change-password.component.scss b/client/src/components/changepassword/type-change-password.component.scss old mode 100644 new mode 100755 diff --git a/client/src/components/changepassword/type-change-password.controller.ts b/client/src/components/changepassword/type-change-password.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/i18n/translations_en.json b/client/src/i18n/translations_en.json old mode 100644 new mode 100755 diff --git a/client/src/index-dev.html b/client/src/index-dev.html old mode 100644 new mode 100755 diff --git a/client/src/models/column.model.ts b/client/src/models/column.model.ts old mode 100644 new mode 100755 diff --git a/client/src/models/orgchart-data.model.ts b/client/src/models/orgchart-data.model.ts old mode 100644 new mode 100755 diff --git a/client/src/models/person.model.ts b/client/src/models/person.model.ts old mode 100644 new mode 100755 diff --git a/client/src/models/search-result.model.ts b/client/src/models/search-result.model.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/changepassword/changepassword.controller.ts b/client/src/modules/changepassword/changepassword.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/changepassword/changepassword.module.ts b/client/src/modules/changepassword/changepassword.module.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/changepassword/password-suggestions.html b/client/src/modules/changepassword/password-suggestions.html old mode 100644 new mode 100755 diff --git a/client/src/modules/changepassword/password-suggestions.scss b/client/src/modules/changepassword/password-suggestions.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/configeditor/configeditor.controller.ts b/client/src/modules/configeditor/configeditor.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/configeditor/configeditor.module.ts b/client/src/modules/configeditor/configeditor.module.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/date.filters.ts b/client/src/modules/helpdesk/date.filters.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-detail-dialog.template.html b/client/src/modules/helpdesk/helpdesk-detail-dialog.template.html old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-detail.component.html b/client/src/modules/helpdesk/helpdesk-detail.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-detail.component.scss b/client/src/modules/helpdesk/helpdesk-detail.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-detail.component.ts b/client/src/modules/helpdesk/helpdesk-detail.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-search-base.component.ts b/client/src/modules/helpdesk/helpdesk-search-base.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-search-cards.component.html b/client/src/modules/helpdesk/helpdesk-search-cards.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-search-cards.component.ts b/client/src/modules/helpdesk/helpdesk-search-cards.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-search-table.component.html b/client/src/modules/helpdesk/helpdesk-search-table.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-search-table.component.ts b/client/src/modules/helpdesk/helpdesk-search-table.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk-search.component.scss b/client/src/modules/helpdesk/helpdesk-search.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/helpdesk.module.ts b/client/src/modules/helpdesk/helpdesk.module.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/main.dev.ts b/client/src/modules/helpdesk/main.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/main.ts b/client/src/modules/helpdesk/main.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/recent-verifications-dialog.controller.ts b/client/src/modules/helpdesk/recent-verifications-dialog.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/recent-verifications-dialog.template.html b/client/src/modules/helpdesk/recent-verifications-dialog.template.html old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/routes.ts b/client/src/modules/helpdesk/routes.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/verifications-dialog.controller.ts b/client/src/modules/helpdesk/verifications-dialog.controller.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/helpdesk/verifications-dialog.template.html b/client/src/modules/helpdesk/verifications-dialog.template.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/main.dev.ts b/client/src/modules/peoplesearch/main.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/main.ts b/client/src/modules/peoplesearch/main.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart-search.component.html b/client/src/modules/peoplesearch/orgchart-search.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart-search.component.scss b/client/src/modules/peoplesearch/orgchart-search.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart-search.component.ts b/client/src/modules/peoplesearch/orgchart-search.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart.component.html b/client/src/modules/peoplesearch/orgchart.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart.component.scss b/client/src/modules/peoplesearch/orgchart.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart.component.test.ts b/client/src/modules/peoplesearch/orgchart.component.test.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/orgchart.component.ts b/client/src/modules/peoplesearch/orgchart.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-base.component.ts b/client/src/modules/peoplesearch/peoplesearch-base.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-cards.component.html b/client/src/modules/peoplesearch/peoplesearch-cards.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-cards.component.scss b/client/src/modules/peoplesearch/peoplesearch-cards.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-cards.component.ts b/client/src/modules/peoplesearch/peoplesearch-cards.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-table.component.html b/client/src/modules/peoplesearch/peoplesearch-table.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-table.component.scss b/client/src/modules/peoplesearch/peoplesearch-table.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch-table.component.ts b/client/src/modules/peoplesearch/peoplesearch-table.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch.module.ts b/client/src/modules/peoplesearch/peoplesearch.module.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/peoplesearch.scss b/client/src/modules/peoplesearch/peoplesearch.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/person-card.component.html b/client/src/modules/peoplesearch/person-card.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/person-card.component.ts b/client/src/modules/peoplesearch/person-card.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/person-details-dialog.component.html b/client/src/modules/peoplesearch/person-details-dialog.component.html old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/person-details-dialog.component.scss b/client/src/modules/peoplesearch/person-details-dialog.component.scss old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/person-details-dialog.component.ts b/client/src/modules/peoplesearch/person-details-dialog.component.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/person.filters.ts b/client/src/modules/peoplesearch/person.filters.ts old mode 100644 new mode 100755 diff --git a/client/src/modules/peoplesearch/string.filters.ts b/client/src/modules/peoplesearch/string.filters.ts old mode 100644 new mode 100755 diff --git a/client/src/route-error-handler.ts b/client/src/route-error-handler.ts old mode 100644 new mode 100755 diff --git a/client/src/routes.ts b/client/src/routes.ts old mode 100644 new mode 100755 diff --git a/client/src/services/base-config.service.dev.ts b/client/src/services/base-config.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/base-config.service.ts b/client/src/services/base-config.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk-config.service.dev.ts b/client/src/services/helpdesk-config.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk-config.service.test-data.ts b/client/src/services/helpdesk-config.service.test-data.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk-config.service.test.ts b/client/src/services/helpdesk-config.service.test.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk-config.service.ts b/client/src/services/helpdesk-config.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk.service.dev.ts b/client/src/services/helpdesk.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk.service.test-data.ts b/client/src/services/helpdesk.service.test-data.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk.service.test.ts b/client/src/services/helpdesk.service.test.ts old mode 100644 new mode 100755 diff --git a/client/src/services/helpdesk.service.ts b/client/src/services/helpdesk.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/local-storage.service.ts b/client/src/services/local-storage.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/object.service.ts b/client/src/services/object.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/password.service.dev.ts b/client/src/services/password.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/password.service.ts b/client/src/services/password.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/people.data.json b/client/src/services/people.data.json old mode 100644 new mode 100755 diff --git a/client/src/services/people.service.dev.ts b/client/src/services/people.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/people.service.ts b/client/src/services/people.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/peoplesearch-config.service.dev.ts b/client/src/services/peoplesearch-config.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/peoplesearch-config.service.ts b/client/src/services/peoplesearch-config.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/promise.service.ts b/client/src/services/promise.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/pwm.service.dev.ts b/client/src/services/pwm.service.dev.ts old mode 100644 new mode 100755 diff --git a/client/src/services/pwm.service.ts b/client/src/services/pwm.service.ts old mode 100644 new mode 100755 diff --git a/client/src/services/translations-loader.factory.ts b/client/src/services/translations-loader.factory.ts old mode 100644 new mode 100755 diff --git a/client/src/ux/element-size.service.ts b/client/src/ux/element-size.service.ts old mode 100644 new mode 100755 diff --git a/client/src/ux/ux.module.ts b/client/src/ux/ux.module.ts old mode 100644 new mode 100755 diff --git a/client/test/karma-test-suite.ts b/client/test/karma-test-suite.ts old mode 100644 new mode 100755 diff --git a/client/test/karma.conf.js b/client/test/karma.conf.js old mode 100644 new mode 100755 diff --git a/client/tsconfig.json b/client/tsconfig.json old mode 100644 new mode 100755 diff --git a/client/tslint.json b/client/tslint.json old mode 100644 new mode 100755 diff --git a/client/vendor/angular-ui-router.js b/client/vendor/angular-ui-router.js old mode 100644 new mode 100755 diff --git a/client/webpack.config.js b/client/webpack.config.js old mode 100644 new mode 100755 diff --git a/data-service/pom.xml b/data-service/pom.xml old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/ContextManager.java b/data-service/src/main/java/password/pwm/receiver/ContextManager.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/CsvDownloadServlet.java b/data-service/src/main/java/password/pwm/receiver/CsvDownloadServlet.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/FtpDataIngestor.java b/data-service/src/main/java/password/pwm/receiver/FtpDataIngestor.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/Logger.java b/data-service/src/main/java/password/pwm/receiver/Logger.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/PwmReceiverApp.java b/data-service/src/main/java/password/pwm/receiver/PwmReceiverApp.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/PwmReceiverLogger.java b/data-service/src/main/java/password/pwm/receiver/PwmReceiverLogger.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/Settings.java b/data-service/src/main/java/password/pwm/receiver/Settings.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/Status.java b/data-service/src/main/java/password/pwm/receiver/Status.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/Storage.java b/data-service/src/main/java/password/pwm/receiver/Storage.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/SummaryBean.java b/data-service/src/main/java/password/pwm/receiver/SummaryBean.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/TelemetryRestReceiver.java b/data-service/src/main/java/password/pwm/receiver/TelemetryRestReceiver.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/java/password/pwm/receiver/TelemetryViewerServlet.java b/data-service/src/main/java/password/pwm/receiver/TelemetryViewerServlet.java old mode 100644 new mode 100755 diff --git a/data-service/src/main/webapp/META-INF/context.xml b/data-service/src/main/webapp/META-INF/context.xml old mode 100644 new mode 100755 diff --git a/data-service/src/main/webapp/WEB-INF/jsp/telemetry-viewer.jsp b/data-service/src/main/webapp/WEB-INF/jsp/telemetry-viewer.jsp old mode 100644 new mode 100755 diff --git a/data-service/src/main/webapp/WEB-INF/web.xml b/data-service/src/main/webapp/WEB-INF/web.xml old mode 100644 new mode 100755 diff --git a/data-service/src/main/webapp/index.jsp b/data-service/src/main/webapp/index.jsp old mode 100644 new mode 100755 diff --git a/docker/pom.xml b/docker/pom.xml old mode 100644 new mode 100755 diff --git a/docker/readme.txt b/docker/readme.txt old mode 100644 new mode 100755 diff --git a/docker/src/main/docker/Dockerfile b/docker/src/main/docker/Dockerfile old mode 100644 new mode 100755 diff --git a/docker/src/main/docker/java.vmoptions b/docker/src/main/docker/java.vmoptions old mode 100644 new mode 100755 diff --git a/docker/src/main/docker/startup.sh b/docker/src/main/docker/startup.sh old mode 100644 new mode 100755 diff --git a/docker/src/main/java/password/pwm/docker/DockerStub.java b/docker/src/main/java/password/pwm/docker/DockerStub.java old mode 100644 new mode 100755 diff --git a/docker/src/main/jib/config/readme.txt b/docker/src/main/jib/config/readme.txt old mode 100644 new mode 100755 diff --git a/onejar/onejar-assembly.xml b/onejar/onejar-assembly.xml old mode 100644 new mode 100755 diff --git a/onejar/pom.xml b/onejar/pom.xml old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/Argument.java b/onejar/src/main/java/password/pwm/onejar/Argument.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/ArgumentParser.java b/onejar/src/main/java/password/pwm/onejar/ArgumentParser.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/ArgumentParserException.java b/onejar/src/main/java/password/pwm/onejar/ArgumentParserException.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/OnejarConfig.java b/onejar/src/main/java/password/pwm/onejar/OnejarConfig.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/Resource.java b/onejar/src/main/java/password/pwm/onejar/Resource.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/TomcatOneJarException.java b/onejar/src/main/java/password/pwm/onejar/TomcatOneJarException.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/TomcatOneJarMain.java b/onejar/src/main/java/password/pwm/onejar/TomcatOneJarMain.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/java/password/pwm/onejar/WebServer.java b/onejar/src/main/java/password/pwm/onejar/WebServer.java old mode 100644 new mode 100755 diff --git a/onejar/src/main/resources/ROOT-redirect-webapp/WEB-INF/index.jsp b/onejar/src/main/resources/ROOT-redirect-webapp/WEB-INF/index.jsp old mode 100644 new mode 100755 diff --git a/onejar/src/main/resources/ROOT-redirect-webapp/WEB-INF/web.xml b/onejar/src/main/resources/ROOT-redirect-webapp/WEB-INF/web.xml old mode 100644 new mode 100755 diff --git a/onejar/src/main/resources/password/pwm/onejar/Resource.properties b/onejar/src/main/resources/password/pwm/onejar/Resource.properties old mode 100644 new mode 100755 diff --git a/pom.xml b/pom.xml old mode 100644 new mode 100755 diff --git a/pwm-cr/src/main/java/password/pwm/cr/hash/ResponseHashMachine.java b/pwm-cr/src/main/java/password/pwm/cr/hash/ResponseHashMachine.java old mode 100644 new mode 100755 diff --git a/rest-test-service/pom.xml b/rest-test-service/pom.xml old mode 100644 new mode 100755 diff --git a/rest-test-service/src/main/webapp/META-INF/context.xml b/rest-test-service/src/main/webapp/META-INF/context.xml old mode 100644 new mode 100755 diff --git a/rest-test-service/src/main/webapp/WEB-INF/web.xml b/rest-test-service/src/main/webapp/WEB-INF/web.xml old mode 100644 new mode 100755 diff --git a/rest-test-service/src/main/webapp/index.jsp b/rest-test-service/src/main/webapp/index.jsp old mode 100644 new mode 100755 diff --git a/server/.gitignore b/server/.gitignore old mode 100644 new mode 100755 diff --git a/server/pom.xml b/server/pom.xml old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/AppProperty.java b/server/src/main/java/password/pwm/AppProperty.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/Permission.java b/server/src/main/java/password/pwm/Permission.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/PwmAboutProperty.java b/server/src/main/java/password/pwm/PwmAboutProperty.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/PwmApplication.java b/server/src/main/java/password/pwm/PwmApplication.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/PwmApplicationMode.java b/server/src/main/java/password/pwm/PwmApplicationMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/PwmConstants.java b/server/src/main/java/password/pwm/PwmConstants.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/PwmEnvironment.java b/server/src/main/java/password/pwm/PwmEnvironment.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/PwmHttpFilterAuthenticationProvider.java b/server/src/main/java/password/pwm/PwmHttpFilterAuthenticationProvider.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/VerificationMethodSystem.java b/server/src/main/java/password/pwm/VerificationMethodSystem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/EmailItemBean.java b/server/src/main/java/password/pwm/bean/EmailItemBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/FormNonce.java b/server/src/main/java/password/pwm/bean/FormNonce.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/LocalSessionStateBean.java b/server/src/main/java/password/pwm/bean/LocalSessionStateBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/LoginInfoBean.java b/server/src/main/java/password/pwm/bean/LoginInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/PasswordStatus.java b/server/src/main/java/password/pwm/bean/PasswordStatus.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/PrivateKeyCertificate.java b/server/src/main/java/password/pwm/bean/PrivateKeyCertificate.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/RemoteVerificationRequestBean.java b/server/src/main/java/password/pwm/bean/RemoteVerificationRequestBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/RemoteVerificationResponseBean.java b/server/src/main/java/password/pwm/bean/RemoteVerificationResponseBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/ResponseInfoBean.java b/server/src/main/java/password/pwm/bean/ResponseInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/SessionLabel.java b/server/src/main/java/password/pwm/bean/SessionLabel.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/SmsItemBean.java b/server/src/main/java/password/pwm/bean/SmsItemBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/TelemetryPublishBean.java b/server/src/main/java/password/pwm/bean/TelemetryPublishBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/TokenDestinationItem.java b/server/src/main/java/password/pwm/bean/TokenDestinationItem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/UserIdentity.java b/server/src/main/java/password/pwm/bean/UserIdentity.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/pub/PublicUserInfoBean.java b/server/src/main/java/password/pwm/bean/pub/PublicUserInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/pub/PublishedBean.java b/server/src/main/java/password/pwm/bean/pub/PublishedBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/bean/pub/SessionStateInfoBean.java b/server/src/main/java/password/pwm/bean/pub/SessionStateInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/Configuration.java b/server/src/main/java/password/pwm/config/Configuration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/CustomLinkConfiguration.java b/server/src/main/java/password/pwm/config/CustomLinkConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/LDAPPermissionInfo.java b/server/src/main/java/password/pwm/config/LDAPPermissionInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSetting.java b/server/src/main/java/password/pwm/config/PwmSetting.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSettingCategory.java b/server/src/main/java/password/pwm/config/PwmSettingCategory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSettingFlag.java b/server/src/main/java/password/pwm/config/PwmSettingFlag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSettingProperty.java b/server/src/main/java/password/pwm/config/PwmSettingProperty.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSettingSyntax.java b/server/src/main/java/password/pwm/config/PwmSettingSyntax.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSettingTemplate.java b/server/src/main/java/password/pwm/config/PwmSettingTemplate.java old mode 100644 new mode 100755 index a844f4f41..edd3f6f60 --- a/server/src/main/java/password/pwm/config/PwmSettingTemplate.java +++ b/server/src/main/java/password/pwm/config/PwmSettingTemplate.java @@ -34,6 +34,7 @@ public enum PwmSettingTemplate DEFAULT( Type.LDAP_VENDOR ), NOVL_IDM( Type.LDAP_VENDOR ), OPEN_LDAP( Type.LDAP_VENDOR ), + FREEIPA( Type.LDAP_VENDOR ), LOCALDB( Type.STORAGE ), DB( Type.STORAGE ), diff --git a/server/src/main/java/password/pwm/config/PwmSettingTemplateSet.java b/server/src/main/java/password/pwm/config/PwmSettingTemplateSet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/PwmSettingXml.java b/server/src/main/java/password/pwm/config/PwmSettingXml.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/SettingReader.java b/server/src/main/java/password/pwm/config/SettingReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/SettingUIFunction.java b/server/src/main/java/password/pwm/config/SettingUIFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/StoredValue.java b/server/src/main/java/password/pwm/config/StoredValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/AbstractUriCertImportFunction.java b/server/src/main/java/password/pwm/config/function/AbstractUriCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/ActionCertImportFunction.java b/server/src/main/java/password/pwm/config/function/ActionCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/LdapCertImportFunction.java b/server/src/main/java/password/pwm/config/function/LdapCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/OAuthCertImportFunction.java b/server/src/main/java/password/pwm/config/function/OAuthCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/RemoteWebServiceCertImportFunction.java b/server/src/main/java/password/pwm/config/function/RemoteWebServiceCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/SMSGatewayCertImportFunction.java b/server/src/main/java/password/pwm/config/function/SMSGatewayCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/SyslogCertImportFunction.java b/server/src/main/java/password/pwm/config/function/SyslogCertImportFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/function/UserMatchViewerFunction.java b/server/src/main/java/password/pwm/config/function/UserMatchViewerFunction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/ADPolicyComplexity.java b/server/src/main/java/password/pwm/config/option/ADPolicyComplexity.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/ApplicationPage.java b/server/src/main/java/password/pwm/config/option/ApplicationPage.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/ConfigurationOption.java b/server/src/main/java/password/pwm/config/option/ConfigurationOption.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/DataStorageMethod.java b/server/src/main/java/password/pwm/config/option/DataStorageMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/DuplicateMode.java b/server/src/main/java/password/pwm/config/option/DuplicateMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/ForceSetupPolicy.java b/server/src/main/java/password/pwm/config/option/ForceSetupPolicy.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/HelpdeskClearResponseMode.java b/server/src/main/java/password/pwm/config/option/HelpdeskClearResponseMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/HelpdeskUIMode.java b/server/src/main/java/password/pwm/config/option/HelpdeskUIMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/IdentityVerificationMethod.java b/server/src/main/java/password/pwm/config/option/IdentityVerificationMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/IntruderStorageMethod.java b/server/src/main/java/password/pwm/config/option/IntruderStorageMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/MessageSendMethod.java b/server/src/main/java/password/pwm/config/option/MessageSendMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/OTPStorageFormat.java b/server/src/main/java/password/pwm/config/option/OTPStorageFormat.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/PasswordSyncCheckMode.java b/server/src/main/java/password/pwm/config/option/PasswordSyncCheckMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/RecoveryAction.java b/server/src/main/java/password/pwm/config/option/RecoveryAction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/RecoveryMinLifetimeOption.java b/server/src/main/java/password/pwm/config/option/RecoveryMinLifetimeOption.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/RequireCurrentPasswordMode.java b/server/src/main/java/password/pwm/config/option/RequireCurrentPasswordMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/SelectableContextMode.java b/server/src/main/java/password/pwm/config/option/SelectableContextMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/SessionBeanMode.java b/server/src/main/java/password/pwm/config/option/SessionBeanMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/SessionVerificationMode.java b/server/src/main/java/password/pwm/config/option/SessionVerificationMode.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/StrengthMeterType.java b/server/src/main/java/password/pwm/config/option/StrengthMeterType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/SyslogOutputFormat.java b/server/src/main/java/password/pwm/config/option/SyslogOutputFormat.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/TLSVersion.java b/server/src/main/java/password/pwm/config/option/TLSVersion.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/TokenStorageMethod.java b/server/src/main/java/password/pwm/config/option/TokenStorageMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/UserEventStorageMethod.java b/server/src/main/java/password/pwm/config/option/UserEventStorageMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/ViewStatusFields.java b/server/src/main/java/password/pwm/config/option/ViewStatusFields.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/option/WebServiceUsage.java b/server/src/main/java/password/pwm/config/option/WebServiceUsage.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/AbstractProfile.java b/server/src/main/java/password/pwm/config/profile/AbstractProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/ChallengeProfile.java b/server/src/main/java/password/pwm/config/profile/ChallengeProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/DeleteAccountProfile.java b/server/src/main/java/password/pwm/config/profile/DeleteAccountProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/EmailServerProfile.java b/server/src/main/java/password/pwm/config/profile/EmailServerProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/ForgottenPasswordProfile.java b/server/src/main/java/password/pwm/config/profile/ForgottenPasswordProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/HelpdeskProfile.java b/server/src/main/java/password/pwm/config/profile/HelpdeskProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/LdapProfile.java b/server/src/main/java/password/pwm/config/profile/LdapProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/NewUserProfile.java b/server/src/main/java/password/pwm/config/profile/NewUserProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/Profile.java b/server/src/main/java/password/pwm/config/profile/Profile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/ProfileType.java b/server/src/main/java/password/pwm/config/profile/ProfileType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/ProfileUtility.java b/server/src/main/java/password/pwm/config/profile/ProfileUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/PwmPasswordPolicy.java b/server/src/main/java/password/pwm/config/profile/PwmPasswordPolicy.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/PwmPasswordRule.java b/server/src/main/java/password/pwm/config/profile/PwmPasswordRule.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/SetupOtpProfile.java b/server/src/main/java/password/pwm/config/profile/SetupOtpProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/profile/UpdateProfileProfile.java b/server/src/main/java/password/pwm/config/profile/UpdateProfileProfile.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/ConfigChangeLog.java b/server/src/main/java/password/pwm/config/stored/ConfigChangeLog.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/ConfigChangeLogImpl.java b/server/src/main/java/password/pwm/config/stored/ConfigChangeLogImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/ConfigurationProperty.java b/server/src/main/java/password/pwm/config/stored/ConfigurationProperty.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/ConfigurationReader.java b/server/src/main/java/password/pwm/config/stored/ConfigurationReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/NGStorageEngineImpl.java b/server/src/main/java/password/pwm/config/stored/NGStorageEngineImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/NGStoredConfiguration.java b/server/src/main/java/password/pwm/config/stored/NGStoredConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/NGStoredConfigurationFactory.java b/server/src/main/java/password/pwm/config/stored/NGStoredConfigurationFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StorageEngine.java b/server/src/main/java/password/pwm/config/stored/StorageEngine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfigReference.java b/server/src/main/java/password/pwm/config/stored/StoredConfigReference.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfigReferenceBean.java b/server/src/main/java/password/pwm/config/stored/StoredConfigReferenceBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfiguration.java b/server/src/main/java/password/pwm/config/stored/StoredConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfigurationFactory.java b/server/src/main/java/password/pwm/config/stored/StoredConfigurationFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfigurationImpl.java b/server/src/main/java/password/pwm/config/stored/StoredConfigurationImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfigurationProvider.java b/server/src/main/java/password/pwm/config/stored/StoredConfigurationProvider.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/StoredConfigurationUtil.java b/server/src/main/java/password/pwm/config/stored/StoredConfigurationUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/stored/ValueMetaData.java b/server/src/main/java/password/pwm/config/stored/ValueMetaData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/AbstractValue.java b/server/src/main/java/password/pwm/config/value/AbstractValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/ActionValue.java b/server/src/main/java/password/pwm/config/value/ActionValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/BooleanValue.java b/server/src/main/java/password/pwm/config/value/BooleanValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/ChallengeValue.java b/server/src/main/java/password/pwm/config/value/ChallengeValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/CustomLinkValue.java b/server/src/main/java/password/pwm/config/value/CustomLinkValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/EmailValue.java b/server/src/main/java/password/pwm/config/value/EmailValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/FileValue.java b/server/src/main/java/password/pwm/config/value/FileValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/FormValue.java b/server/src/main/java/password/pwm/config/value/FormValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/LocalizedStringArrayValue.java b/server/src/main/java/password/pwm/config/value/LocalizedStringArrayValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/LocalizedStringValue.java b/server/src/main/java/password/pwm/config/value/LocalizedStringValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/NamedSecretValue.java b/server/src/main/java/password/pwm/config/value/NamedSecretValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/NumericArrayValue.java b/server/src/main/java/password/pwm/config/value/NumericArrayValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/NumericValue.java b/server/src/main/java/password/pwm/config/value/NumericValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/OptionListValue.java b/server/src/main/java/password/pwm/config/value/OptionListValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/PasswordValue.java b/server/src/main/java/password/pwm/config/value/PasswordValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/PrivateKeyValue.java b/server/src/main/java/password/pwm/config/value/PrivateKeyValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/RemoteWebServiceValue.java b/server/src/main/java/password/pwm/config/value/RemoteWebServiceValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/StringArrayValue.java b/server/src/main/java/password/pwm/config/value/StringArrayValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/StringValue.java b/server/src/main/java/password/pwm/config/value/StringValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/UserPermissionValue.java b/server/src/main/java/password/pwm/config/value/UserPermissionValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/ValueFactory.java b/server/src/main/java/password/pwm/config/value/ValueFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/VerificationMethodValue.java b/server/src/main/java/password/pwm/config/value/VerificationMethodValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/X509CertificateValue.java b/server/src/main/java/password/pwm/config/value/X509CertificateValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/ActionConfiguration.java b/server/src/main/java/password/pwm/config/value/data/ActionConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/ActionConfigurationOldVersion1.java b/server/src/main/java/password/pwm/config/value/data/ActionConfigurationOldVersion1.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/ChallengeItemConfiguration.java b/server/src/main/java/password/pwm/config/value/data/ChallengeItemConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/FormConfiguration.java b/server/src/main/java/password/pwm/config/value/data/FormConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/NamedSecretData.java b/server/src/main/java/password/pwm/config/value/data/NamedSecretData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/RemoteWebServiceConfiguration.java b/server/src/main/java/password/pwm/config/value/data/RemoteWebServiceConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/ShortcutItem.java b/server/src/main/java/password/pwm/config/value/data/ShortcutItem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/config/value/data/UserPermission.java b/server/src/main/java/password/pwm/config/value/data/UserPermission.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/cr/CrChallengeItemBean.java b/server/src/main/java/password/pwm/cr/CrChallengeItemBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/cr/CrChallengePolicyBean.java b/server/src/main/java/password/pwm/cr/CrChallengePolicyBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/cr/StoredCrCollection.java b/server/src/main/java/password/pwm/cr/StoredCrCollection.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/cr/StoredCrItem.java b/server/src/main/java/password/pwm/cr/StoredCrItem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/cr/StoredCrSet.java b/server/src/main/java/password/pwm/cr/StoredCrSet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/ErrorInformation.java b/server/src/main/java/password/pwm/error/ErrorInformation.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmDataStoreException.java b/server/src/main/java/password/pwm/error/PwmDataStoreException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmDataValidationException.java b/server/src/main/java/password/pwm/error/PwmDataValidationException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmError.java b/server/src/main/java/password/pwm/error/PwmError.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmException.java b/server/src/main/java/password/pwm/error/PwmException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmOperationalException.java b/server/src/main/java/password/pwm/error/PwmOperationalException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmPasswordValidationException.java b/server/src/main/java/password/pwm/error/PwmPasswordValidationException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/error/PwmUnrecoverableException.java b/server/src/main/java/password/pwm/error/PwmUnrecoverableException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/ApplianceStatusChecker.java b/server/src/main/java/password/pwm/health/ApplianceStatusChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/CertificateChecker.java b/server/src/main/java/password/pwm/health/CertificateChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/ConfigurationChecker.java b/server/src/main/java/password/pwm/health/ConfigurationChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/DatabaseStatusChecker.java b/server/src/main/java/password/pwm/health/DatabaseStatusChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthChecker.java b/server/src/main/java/password/pwm/health/HealthChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthMessage.java b/server/src/main/java/password/pwm/health/HealthMessage.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthMonitor.java b/server/src/main/java/password/pwm/health/HealthMonitor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthMonitorSettings.java b/server/src/main/java/password/pwm/health/HealthMonitorSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthRecord.java b/server/src/main/java/password/pwm/health/HealthRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthStatus.java b/server/src/main/java/password/pwm/health/HealthStatus.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/HealthTopic.java b/server/src/main/java/password/pwm/health/HealthTopic.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/JavaChecker.java b/server/src/main/java/password/pwm/health/JavaChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/LDAPStatusChecker.java b/server/src/main/java/password/pwm/health/LDAPStatusChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/health/LocalDBHealthChecker.java b/server/src/main/java/password/pwm/health/LocalDBHealthChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/AppServerManager.java b/server/src/main/java/password/pwm/http/AppServerManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/ContextManager.java b/server/src/main/java/password/pwm/http/ContextManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/HttpContentType.java b/server/src/main/java/password/pwm/http/HttpContentType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/HttpEventManager.java b/server/src/main/java/password/pwm/http/HttpEventManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/HttpHeader.java b/server/src/main/java/password/pwm/http/HttpHeader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/HttpMethod.java b/server/src/main/java/password/pwm/http/HttpMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/IdleTimeoutCalculator.java b/server/src/main/java/password/pwm/http/IdleTimeoutCalculator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/JspUrl.java b/server/src/main/java/password/pwm/http/JspUrl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/JspUtility.java b/server/src/main/java/password/pwm/http/JspUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/ProcessStatus.java b/server/src/main/java/password/pwm/http/ProcessStatus.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmHttpRequestWrapper.java b/server/src/main/java/password/pwm/http/PwmHttpRequestWrapper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmHttpResponseWrapper.java b/server/src/main/java/password/pwm/http/PwmHttpResponseWrapper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmRequest.java b/server/src/main/java/password/pwm/http/PwmRequest.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmRequestAttribute.java b/server/src/main/java/password/pwm/http/PwmRequestAttribute.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmRequestFlag.java b/server/src/main/java/password/pwm/http/PwmRequestFlag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmResponse.java b/server/src/main/java/password/pwm/http/PwmResponse.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmResponseFlag.java b/server/src/main/java/password/pwm/http/PwmResponseFlag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmSession.java b/server/src/main/java/password/pwm/http/PwmSession.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmSessionWrapper.java b/server/src/main/java/password/pwm/http/PwmSessionWrapper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/PwmURL.java b/server/src/main/java/password/pwm/http/PwmURL.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/SessionManager.java b/server/src/main/java/password/pwm/http/SessionManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ActivateUserBean.java b/server/src/main/java/password/pwm/http/bean/ActivateUserBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/AdminBean.java b/server/src/main/java/password/pwm/http/bean/AdminBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ChangePasswordBean.java b/server/src/main/java/password/pwm/http/bean/ChangePasswordBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ConfigGuideBean.java b/server/src/main/java/password/pwm/http/bean/ConfigGuideBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ConfigManagerBean.java b/server/src/main/java/password/pwm/http/bean/ConfigManagerBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/DeleteAccountBean.java b/server/src/main/java/password/pwm/http/bean/DeleteAccountBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/DisplayElement.java b/server/src/main/java/password/pwm/http/bean/DisplayElement.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ForgottenPasswordBean.java b/server/src/main/java/password/pwm/http/bean/ForgottenPasswordBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/GuestRegistrationBean.java b/server/src/main/java/password/pwm/http/bean/GuestRegistrationBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ImmutableByteArray.java b/server/src/main/java/password/pwm/http/bean/ImmutableByteArray.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/LoginServletBean.java b/server/src/main/java/password/pwm/http/bean/LoginServletBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/NewUserBean.java b/server/src/main/java/password/pwm/http/bean/NewUserBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/PwmSessionBean.java b/server/src/main/java/password/pwm/http/bean/PwmSessionBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/SetupOtpBean.java b/server/src/main/java/password/pwm/http/bean/SetupOtpBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/SetupResponsesBean.java b/server/src/main/java/password/pwm/http/bean/SetupResponsesBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/ShortcutsBean.java b/server/src/main/java/password/pwm/http/bean/ShortcutsBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/UpdateProfileBean.java b/server/src/main/java/password/pwm/http/bean/UpdateProfileBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/bean/UserSessionDataCacheBean.java b/server/src/main/java/password/pwm/http/bean/UserSessionDataCacheBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/client/PwmHttpClient.java b/server/src/main/java/password/pwm/http/client/PwmHttpClient.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/client/PwmHttpClientConfiguration.java b/server/src/main/java/password/pwm/http/client/PwmHttpClientConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/client/PwmHttpClientRequest.java b/server/src/main/java/password/pwm/http/client/PwmHttpClientRequest.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/client/PwmHttpClientResponse.java b/server/src/main/java/password/pwm/http/client/PwmHttpClientResponse.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/AbstractPwmFilter.java b/server/src/main/java/password/pwm/http/filter/AbstractPwmFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/ApplicationModeFilter.java b/server/src/main/java/password/pwm/http/filter/ApplicationModeFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/AuthenticationFilter.java b/server/src/main/java/password/pwm/http/filter/AuthenticationFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/AuthorizationFilter.java b/server/src/main/java/password/pwm/http/filter/AuthorizationFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/ConfigAccessFilter.java b/server/src/main/java/password/pwm/http/filter/ConfigAccessFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/GZIPFilter.java b/server/src/main/java/password/pwm/http/filter/GZIPFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/ObsoleteUrlFilter.java b/server/src/main/java/password/pwm/http/filter/ObsoleteUrlFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/RequestInitializationFilter.java b/server/src/main/java/password/pwm/http/filter/RequestInitializationFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/filter/SessionFilter.java b/server/src/main/java/password/pwm/http/filter/SessionFilter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/AbstractPwmServlet.java b/server/src/main/java/password/pwm/http/servlet/AbstractPwmServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/ClientApiServlet.java b/server/src/main/java/password/pwm/http/servlet/ClientApiServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/ControlledPwmServlet.java b/server/src/main/java/password/pwm/http/servlet/ControlledPwmServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/DeleteAccountServlet.java b/server/src/main/java/password/pwm/http/servlet/DeleteAccountServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/ForgottenUsernameServlet.java b/server/src/main/java/password/pwm/http/servlet/ForgottenUsernameServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/GuestRegistrationServlet.java b/server/src/main/java/password/pwm/http/servlet/GuestRegistrationServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/LoginServlet.java b/server/src/main/java/password/pwm/http/servlet/LoginServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/LogoutServlet.java b/server/src/main/java/password/pwm/http/servlet/LogoutServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/PwmServlet.java b/server/src/main/java/password/pwm/http/servlet/PwmServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/PwmServletDefinition.java b/server/src/main/java/password/pwm/http/servlet/PwmServletDefinition.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/SetupOtpServlet.java b/server/src/main/java/password/pwm/http/servlet/SetupOtpServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/SetupResponsesServlet.java b/server/src/main/java/password/pwm/http/servlet/SetupResponsesServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/ShortcutServlet.java b/server/src/main/java/password/pwm/http/servlet/ShortcutServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/accountinfo/AccountInformationBean.java b/server/src/main/java/password/pwm/http/servlet/accountinfo/AccountInformationBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/accountinfo/AccountInformationServlet.java b/server/src/main/java/password/pwm/http/servlet/accountinfo/AccountInformationServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/activation/ActivateUserServlet.java b/server/src/main/java/password/pwm/http/servlet/activation/ActivateUserServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/activation/ActivateUserUtils.java b/server/src/main/java/password/pwm/http/servlet/activation/ActivateUserUtils.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/admin/AdminServlet.java b/server/src/main/java/password/pwm/http/servlet/admin/AdminServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/admin/AppDashboardData.java b/server/src/main/java/password/pwm/http/servlet/admin/AppDashboardData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/admin/ReportStatusBean.java b/server/src/main/java/password/pwm/http/servlet/admin/ReportStatusBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/admin/UserDebugDataBean.java b/server/src/main/java/password/pwm/http/servlet/admin/UserDebugDataBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/admin/UserDebugDataReader.java b/server/src/main/java/password/pwm/http/servlet/admin/UserDebugDataReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/changepw/ChangePasswordServlet.java b/server/src/main/java/password/pwm/http/servlet/changepw/ChangePasswordServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/changepw/ChangePasswordServletUtil.java b/server/src/main/java/password/pwm/http/servlet/changepw/ChangePasswordServletUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/changepw/PrivateChangePasswordServlet.java b/server/src/main/java/password/pwm/http/servlet/changepw/PrivateChangePasswordServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/changepw/PublicChangePasswordServlet.java b/server/src/main/java/password/pwm/http/servlet/changepw/PublicChangePasswordServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/command/CommandServlet.java b/server/src/main/java/password/pwm/http/servlet/command/CommandServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/command/PrivateCommandServlet.java b/server/src/main/java/password/pwm/http/servlet/command/PrivateCommandServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/command/PublicCommandServlet.java b/server/src/main/java/password/pwm/http/servlet/command/PublicCommandServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/CategoryInfo.java b/server/src/main/java/password/pwm/http/servlet/configeditor/CategoryInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServlet.java b/server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServletUtils.java b/server/src/main/java/password/pwm/http/servlet/configeditor/ConfigEditorServletUtils.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/LocaleInfo.java b/server/src/main/java/password/pwm/http/servlet/configeditor/LocaleInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/NavTreeHelper.java b/server/src/main/java/password/pwm/http/servlet/configeditor/NavTreeHelper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/NavTreeItem.java b/server/src/main/java/password/pwm/http/servlet/configeditor/NavTreeItem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/SearchResultItem.java b/server/src/main/java/password/pwm/http/servlet/configeditor/SearchResultItem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configeditor/SettingInfo.java b/server/src/main/java/password/pwm/http/servlet/configeditor/SettingInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideForm.java b/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideForm.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideFormField.java b/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideFormField.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideServlet.java b/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideUtils.java b/server/src/main/java/password/pwm/http/servlet/configguide/ConfigGuideUtils.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configguide/GuideStep.java b/server/src/main/java/password/pwm/http/servlet/configguide/GuideStep.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerCertificatesServlet.java b/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerCertificatesServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerLocalDBServlet.java b/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerLocalDBServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerServlet.java b/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerWordlistServlet.java b/server/src/main/java/password/pwm/http/servlet/configmanager/ConfigManagerWordlistServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/configmanager/DebugItemGenerator.java b/server/src/main/java/password/pwm/http/servlet/configmanager/DebugItemGenerator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordServlet.java b/server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordUtil.java b/server/src/main/java/password/pwm/http/servlet/forgottenpw/ForgottenPasswordUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/forgottenpw/RemoteVerificationMethod.java b/server/src/main/java/password/pwm/http/servlet/forgottenpw/RemoteVerificationMethod.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskCardInfoBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskCardInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskClientDataBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskClientDataBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskDetailInfoBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskDetailInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskSearchResultsBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskSearchResultsBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskServlet.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskServletUtil.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskServletUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskVerificationRequestBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskVerificationRequestBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskVerificationResponseBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskVerificationResponseBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskVerificationStateBean.java b/server/src/main/java/password/pwm/http/servlet/helpdesk/HelpdeskVerificationStateBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/newuser/NewUserForm.java b/server/src/main/java/password/pwm/http/servlet/newuser/NewUserForm.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/newuser/NewUserFormUtils.java b/server/src/main/java/password/pwm/http/servlet/newuser/NewUserFormUtils.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/newuser/NewUserServlet.java b/server/src/main/java/password/pwm/http/servlet/newuser/NewUserServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/newuser/NewUserTokenData.java b/server/src/main/java/password/pwm/http/servlet/newuser/NewUserTokenData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/newuser/NewUserUtils.java b/server/src/main/java/password/pwm/http/servlet/newuser/NewUserUtils.java old mode 100644 new mode 100755 index 4d34896dd..1c6e28259 --- a/server/src/main/java/password/pwm/http/servlet/newuser/NewUserUtils.java +++ b/server/src/main/java/password/pwm/http/servlet/newuser/NewUserUtils.java @@ -29,6 +29,21 @@ import com.novell.ldapchai.provider.ChaiProvider; import com.novell.ldapchai.provider.ChaiSetting; import com.novell.ldapchai.provider.DirectoryVendor; +import java.io.IOException; +import java.net.URISyntaxException; +import java.util.ArrayList; +import java.util.Collections; +import java.util.HashSet; +import java.util.Iterator; +import java.util.LinkedHashMap; +import java.util.LinkedHashSet; +import java.util.List; +import java.util.Locale; +import java.util.Map; +import java.util.Set; +import java.util.logging.Level; +import java.util.logging.Logger; +import javax.servlet.ServletException; import password.pwm.AppProperty; import password.pwm.PwmApplication; import password.pwm.bean.EmailItemBean; @@ -63,6 +78,7 @@ import password.pwm.svc.stats.Statistic; import password.pwm.svc.token.TokenType; import password.pwm.svc.token.TokenUtil; +import password.pwm.util.FreeIpaUserAdd; import password.pwm.util.PasswordData; import password.pwm.util.RandomPasswordGenerator; import password.pwm.util.form.FormUtility; @@ -78,117 +94,66 @@ import password.pwm.ws.client.rest.form.FormDataResponseBean; import password.pwm.ws.client.rest.form.RestFormDataClient; -import javax.servlet.ServletException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Collections; -import java.util.HashSet; -import java.util.Iterator; -import java.util.LinkedHashMap; -import java.util.LinkedHashSet; -import java.util.List; -import java.util.Locale; -import java.util.Map; -import java.util.Set; - class NewUserUtils { - private static final PwmLogger LOGGER = password.pwm.util.logging.PwmLogger.forClass( NewUserUtils.class ); + private static final PwmLogger LOGGER = password.pwm.util.logging.PwmLogger. + forClass( NewUserUtils.class ); - private NewUserUtils( ) + private NewUserUtils() { } - - static void passwordCheckInfoToException( final PasswordUtility.PasswordCheckInfo passwordCheckInfo ) - throws PwmOperationalException + static void createIpaUser( final PwmApplication pwmApplication, + final PwmSession pwmSession, + final Map createAttributes ) throws URISyntaxException, PwmUnrecoverableException { - if ( !passwordCheckInfo.isPassed() ) + final String userDN = pwmApplication.getConfig().getDefaultLdapProfile(). + getProxyUser( + pwmApplication ).getUserDN().toLowerCase(); + final String username = userDN.substring( 0, userDN.indexOf( ',' ) ). + replaceFirst( "uid=", "" ); + final String password = pwmApplication.getConfig(). + getDefaultLdapProfile().getProxyChaiProvider( pwmApplication ). + getChaiConfiguration().getSetting( ChaiSetting.BIND_PASSWORD ); + final String bindurl = pwmApplication.getConfig(). + getDefaultLdapProfile().getProxyChaiProvider( pwmApplication ). + getChaiConfiguration().getSetting( ChaiSetting.BIND_URLS ); + final String bindurlTail = bindurl.split( "://" )[ 1 ].split( ":" )[ 0 ]; + NewUserUtils.LOGGER.info( pwmSession, + "HN: " + bindurlTail ); + final String hostname = bindurlTail; + NewUserUtils.LOGGER.info( pwmSession, + "HN: " + hostname ); + try { - final ErrorInformation errorInformation = PwmError.forErrorNumber( passwordCheckInfo.getErrorCode() ).toInfo(); - throw new PwmOperationalException( errorInformation ); + final FreeIpaUserAdd userCreate = new FreeIpaUserAdd( username, + password, + hostname, createAttributes ); + userCreate.createUser(); } - if ( passwordCheckInfo.getMatch() != PasswordUtility.PasswordCheckInfo.MatchStatus.MATCH ) + catch ( Exception e ) { - final ErrorInformation errorInformation = PwmError.PASSWORD_DOESNOTMATCH.toInfo(); - throw new PwmOperationalException( errorInformation ); } - } - @SuppressWarnings( "checkstyle:MethodLength" ) - static void createUser( - final NewUserForm newUserForm, - final PwmRequest pwmRequest, - final String newUserDN - ) - throws PwmUnrecoverableException, ChaiUnavailableException, PwmOperationalException + private static void setPassword( final PwmRequest pwmRequest, + final String newUserDN, + final NewUserProfile newUserProfile, + final PasswordData userPassword ) + throws PwmUnrecoverableException, ChaiUnavailableException, + PwmOperationalException { final PwmApplication pwmApplication = pwmRequest.getPwmApplication(); final PwmSession pwmSession = pwmRequest.getPwmSession(); - - final long startTime = System.currentTimeMillis(); - - // re-perform verification before proceeding - { - final PasswordUtility.PasswordCheckInfo passwordCheckInfo = NewUserServlet.verifyForm( - pwmRequest, - newUserForm, - false - ); - passwordCheckInfoToException( passwordCheckInfo ); - } - - NewUserUtils.LOGGER.debug( pwmSession, "beginning createUser process for " + newUserDN ); - - final NewUserProfile newUserProfile = NewUserServlet.getNewUserProfile( pwmRequest ); - final boolean promptForPassword = newUserProfile.readSettingAsBoolean( PwmSetting.NEWUSER_PROMPT_FOR_PASSWORD ); - - final PasswordData userPassword; - if ( promptForPassword ) - { - userPassword = newUserForm.getNewUserPassword(); - } - else - { - final PwmPasswordPolicy pwmPasswordPolicy = newUserProfile.getNewUserPasswordPolicy( pwmRequest.getPwmApplication(), pwmRequest.getLocale() ); - userPassword = RandomPasswordGenerator.createRandomPassword( pwmRequest.getSessionLabel(), pwmPasswordPolicy, pwmRequest.getPwmApplication() ); - } - - // set up the user creation attributes - final Map createAttributes = NewUserFormUtils.getLdapDataFromNewUserForm( NewUserServlet.getNewUserProfile( pwmRequest ), newUserForm ); - - // read the creation object classes from configuration - final Set createObjectClasses = new LinkedHashSet<>( - pwmApplication.getConfig().readSettingAsStringArray( PwmSetting.DEFAULT_OBJECT_CLASSES ) ); - - // add the auto-add object classes - { - final LdapProfile defaultLDAPProfile = pwmApplication.getConfig().getDefaultLdapProfile(); - createObjectClasses.addAll( defaultLDAPProfile.readSettingAsStringArray( PwmSetting.AUTO_ADD_OBJECT_CLASSES ) ); - } - - final ChaiProvider chaiProvider = pwmApplication.getConfig().getDefaultLdapProfile().getProxyChaiProvider( pwmApplication ); - try - { - // create the ldap entry - chaiProvider.createEntry( newUserDN, createObjectClasses, createAttributes ); - - NewUserUtils.LOGGER.info( pwmSession, "created user entry: " + newUserDN ); - } - catch ( ChaiOperationException e ) - { - final String userMessage = "unexpected ldap error creating user entry: " + e.getMessage(); - final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, - userMessage ); - throw new PwmOperationalException( errorInformation ); - } - - final ChaiUser theUser = chaiProvider.getEntryFactory().newChaiUser( newUserDN ); + final ChaiProvider chaiProvider = pwmApplication.getConfig(). + getDefaultLdapProfile().getProxyChaiProvider( pwmApplication ); + final ChaiUser theUser = chaiProvider.getEntryFactory().newChaiUser( + newUserDN ); final boolean useTempPw; { - final String settingValue = pwmApplication.getConfig().readAppProperty( AppProperty.NEWUSER_LDAP_USE_TEMP_PW ); + final String settingValue = pwmApplication.getConfig(). + readAppProperty( AppProperty.NEWUSER_LDAP_USE_TEMP_PW ); if ( "auto".equalsIgnoreCase( settingValue ) ) { useTempPw = chaiProvider.getDirectoryVendor() == DirectoryVendor.ACTIVE_DIRECTORY; @@ -201,42 +166,56 @@ static void createUser( if ( useTempPw ) { - NewUserUtils.LOGGER.trace( pwmSession, "will use temporary password process for new user entry: " + newUserDN ); + NewUserUtils.LOGGER.trace( pwmSession, + "will use temporary password process for new user entry: " + newUserDN ); final PasswordData temporaryPassword; { - final RandomPasswordGenerator.RandomGeneratorConfig randomGeneratorConfig = RandomPasswordGenerator.RandomGeneratorConfig.builder() - .passwordPolicy( newUserProfile.getNewUserPasswordPolicy( pwmApplication, pwmRequest.getLocale() ) ) + final RandomPasswordGenerator.RandomGeneratorConfig randomGeneratorConfig = RandomPasswordGenerator.RandomGeneratorConfig. + builder() + .passwordPolicy( newUserProfile. + getNewUserPasswordPolicy( pwmApplication, + pwmRequest.getLocale() ) ) .build(); - temporaryPassword = RandomPasswordGenerator.createRandomPassword( pwmSession.getLabel(), randomGeneratorConfig, pwmApplication ); + temporaryPassword = RandomPasswordGenerator. + createRandomPassword( pwmSession.getLabel(), + randomGeneratorConfig, pwmApplication ); } - final ChaiUser proxiedUser = chaiProvider.getEntryFactory().newChaiUser( newUserDN ); + final ChaiUser proxiedUser = chaiProvider.getEntryFactory(). + newChaiUser( newUserDN ); try { //set password as admin proxiedUser.setPassword( temporaryPassword.getStringValue() ); - NewUserUtils.LOGGER.debug( pwmSession, "set temporary password for new user entry: " + newUserDN ); + NewUserUtils.LOGGER.debug( pwmSession, + "set temporary password for new user entry: " + newUserDN ); } catch ( ChaiOperationException e ) { - final String userMessage = "unexpected ldap error setting temporary password for new user entry: " + e.getMessage(); - final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + final String userMessage = "unexpected ldap error setting temporary password for new user entry: " + e. + getMessage(); + final ErrorInformation errorInformation = new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, userMessage ); throw new PwmOperationalException( errorInformation ); } // add AD-specific attributes - if ( DirectoryVendor.ACTIVE_DIRECTORY == chaiProvider.getDirectoryVendor() ) + if ( DirectoryVendor.ACTIVE_DIRECTORY == chaiProvider. + getDirectoryVendor() ) { try { NewUserUtils.LOGGER.debug( pwmSession, - "setting userAccountControl attribute to enable account " + theUser.getEntryDN() ); + "setting userAccountControl attribute to enable account " + theUser. + getEntryDN() ); theUser.writeStringAttribute( "userAccountControl", "512" ); } catch ( ChaiOperationException e ) { - final String errorMsg = "error enabling AD account when writing userAccountControl attribute: " + e.getMessage(); - final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + final String errorMsg = "error enabling AD account when writing userAccountControl attribute: " + e. + getMessage(); + final ErrorInformation errorInformation = new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, errorMsg ); throw new PwmOperationalException( errorInformation ); } @@ -247,20 +226,29 @@ static void createUser( // bind as user NewUserUtils.LOGGER.debug( pwmSession, "attempting bind as user to then allow changing to requested password for new user entry: " + newUserDN ); - final ChaiConfiguration chaiConfiguration = ChaiConfiguration.builder( chaiProvider.getChaiConfiguration() ) + final ChaiConfiguration chaiConfiguration = ChaiConfiguration. + builder( chaiProvider.getChaiConfiguration() ) .setSetting( ChaiSetting.BIND_DN, newUserDN ) - .setSetting( ChaiSetting.BIND_PASSWORD, temporaryPassword.getStringValue() ) + .setSetting( ChaiSetting.BIND_PASSWORD, + temporaryPassword.getStringValue() ) .build(); - final ChaiProvider bindAsProvider = pwmApplication.getLdapConnectionService().getChaiProviderFactory().newProvider( chaiConfiguration ); - final ChaiUser bindAsUser = bindAsProvider.getEntryFactory().newChaiUser( newUserDN ); - bindAsUser.changePassword( temporaryPassword.getStringValue(), userPassword.getStringValue() ); - NewUserUtils.LOGGER.debug( pwmSession, "changed to user requested password for new user entry: " + newUserDN ); + final ChaiProvider bindAsProvider = pwmApplication. + getLdapConnectionService().getChaiProviderFactory(). + newProvider( chaiConfiguration ); + final ChaiUser bindAsUser = bindAsProvider.getEntryFactory(). + newChaiUser( newUserDN ); + bindAsUser.changePassword( temporaryPassword.getStringValue(), + userPassword.getStringValue() ); + NewUserUtils.LOGGER.debug( pwmSession, + "changed to user requested password for new user entry: " + newUserDN ); bindAsProvider.close(); } catch ( ChaiOperationException e ) { - final String userMessage = "unexpected ldap error setting user password for new user entry: " + e.getMessage(); - final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + final String userMessage = "unexpected ldap error setting user password for new user entry: " + e. + getMessage(); + final ErrorInformation errorInformation = new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, userMessage ); throw new PwmOperationalException( errorInformation ); } @@ -271,18 +259,22 @@ static void createUser( { //set password theUser.setPassword( userPassword.getStringValue() ); - NewUserUtils.LOGGER.debug( pwmSession, "set user requested password for new user entry: " + newUserDN ); + NewUserUtils.LOGGER.debug( pwmSession, + "set user requested password for new user entry: " + newUserDN ); } catch ( ChaiOperationException e ) { - final String userMessage = "unexpected ldap error setting password for new user entry: " + e.getMessage(); - final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + final String userMessage = "unexpected ldap error setting password for new user entry: " + e. + getMessage(); + final ErrorInformation errorInformation = new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, userMessage ); throw new PwmOperationalException( errorInformation ); } // add AD-specific attributes - if ( DirectoryVendor.ACTIVE_DIRECTORY == chaiProvider.getDirectoryVendor() ) + if ( DirectoryVendor.ACTIVE_DIRECTORY == chaiProvider. + getDirectoryVendor() ) { try { @@ -290,35 +282,181 @@ static void createUser( } catch ( ChaiOperationException e ) { - final String errorMsg = "error enabling AD account when writing userAccountControl attribute: " + e.getMessage(); - final ErrorInformation errorInformation = new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + final String errorMsg = "error enabling AD account when writing userAccountControl attribute: " + e. + getMessage(); + final ErrorInformation errorInformation = new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, errorMsg ); throw new PwmOperationalException( errorInformation ); } } } + } + + static void passwordCheckInfoToException( + final PasswordUtility.PasswordCheckInfo passwordCheckInfo ) + throws PwmOperationalException + { + if ( !passwordCheckInfo.isPassed() ) + { + final ErrorInformation errorInformation = PwmError.forErrorNumber( + passwordCheckInfo.getErrorCode() ).toInfo(); + throw new PwmOperationalException( errorInformation ); + } + if ( passwordCheckInfo.getMatch() != PasswordUtility.PasswordCheckInfo.MatchStatus.MATCH ) + { + final ErrorInformation errorInformation = PwmError.PASSWORD_DOESNOTMATCH. + toInfo(); + throw new PwmOperationalException( errorInformation ); + } + + } + + @SuppressWarnings( "checkstyle:MethodLength" ) + static void createUser( + final NewUserForm newUserForm, + final PwmRequest pwmRequest, + final String newUserDN + ) + throws PwmUnrecoverableException, ChaiUnavailableException, + PwmOperationalException + { + final PwmApplication pwmApplication = pwmRequest.getPwmApplication(); + + final PwmSession pwmSession = pwmRequest.getPwmSession(); + + final long startTime = System.currentTimeMillis(); + + // re-perform verification before proceeding + { + final PasswordUtility.PasswordCheckInfo passwordCheckInfo = NewUserServlet. + verifyForm( + pwmRequest, + newUserForm, + false + ); + passwordCheckInfoToException( passwordCheckInfo ); + } + + NewUserUtils.LOGGER.debug( pwmSession, + "beginning createUser process for " + newUserDN ); + + final NewUserProfile newUserProfile = NewUserServlet.getNewUserProfile( + pwmRequest ); + final boolean promptForPassword = newUserProfile.readSettingAsBoolean( + PwmSetting.NEWUSER_PROMPT_FOR_PASSWORD ); + + final PasswordData userPassword; + if ( promptForPassword ) + { + userPassword = newUserForm.getNewUserPassword(); + } + else + { + final PwmPasswordPolicy pwmPasswordPolicy = newUserProfile. + getNewUserPasswordPolicy( pwmRequest.getPwmApplication(), + pwmRequest.getLocale() ); + userPassword = RandomPasswordGenerator.createRandomPassword( + pwmRequest.getSessionLabel(), pwmPasswordPolicy, pwmRequest. + getPwmApplication() ); + } + + // set up the user creation attributes + final Map createAttributes = NewUserFormUtils. + getLdapDataFromNewUserForm( NewUserServlet.getNewUserProfile( + pwmRequest ), newUserForm ); + + // read the creation object classes from configuration + final Set createObjectClasses = new LinkedHashSet<>( + pwmApplication.getConfig().readSettingAsStringArray( + PwmSetting.DEFAULT_OBJECT_CLASSES ) ); + + // add the auto-add object classes + { + final LdapProfile defaultLDAPProfile = pwmApplication.getConfig(). + getDefaultLdapProfile(); + createObjectClasses.addAll( defaultLDAPProfile. + readSettingAsStringArray( PwmSetting.AUTO_ADD_OBJECT_CLASSES ) ); + } + + final ChaiProvider chaiProvider = pwmApplication.getConfig(). + getDefaultLdapProfile().getProxyChaiProvider( pwmApplication ); + final String templateLD = pwmApplication.getConfig(). + readSettingAsString( PwmSetting.TEMPLATE_LDAP ); + + if ( "FREEIPA".equals( templateLD ) ) + { + try + { + createIpaUser( pwmApplication, pwmSession, createAttributes ); + } + catch ( URISyntaxException ex ) + { + Logger.getLogger( NewUserUtils.class.getName() ). + log( Level.SEVERE, null, ex ); + } + } + else + { + try + { + // create the ldap entry + chaiProvider.createEntry( newUserDN, createObjectClasses, + createAttributes ); - NewUserUtils.LOGGER.trace( pwmSession, "new user ldap creation process complete, now authenticating user" ); + NewUserUtils.LOGGER.info( pwmSession, + "created user entry: " + newUserDN ); + } + catch ( ChaiOperationException e ) + { + final String userMessage = "unexpected ldap error creating user entry: " + e. + getMessage(); + final ErrorInformation errorInformation = new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, + userMessage ); + throw new PwmOperationalException( errorInformation ); + } + } + + setPassword( pwmRequest, + newUserDN, + newUserProfile, + userPassword ); + + NewUserUtils.LOGGER.trace( pwmSession, + "new user ldap creation process complete, now authenticating user" ); // write data to remote web service remoteWriteFormData( pwmRequest, newUserForm ); // authenticate the user to pwm - final UserIdentity userIdentity = new UserIdentity( newUserDN, pwmApplication.getConfig().getDefaultLdapProfile().getIdentifier() ); - final SessionAuthenticator sessionAuthenticator = new SessionAuthenticator( pwmApplication, pwmSession, PwmAuthenticationSource.NEW_USER_REGISTRATION ); + final UserIdentity userIdentity = new UserIdentity( newUserDN, + pwmApplication.getConfig().getDefaultLdapProfile(). + getIdentifier() ); + final SessionAuthenticator sessionAuthenticator = new SessionAuthenticator( + pwmApplication, pwmSession, + PwmAuthenticationSource.NEW_USER_REGISTRATION ); sessionAuthenticator.authenticateUser( userIdentity, userPassword ); + final ChaiUser theUser = chaiProvider.getEntryFactory().newChaiUser( + newUserDN ); + { // execute configured actions - final List actions = newUserProfile.readSettingAsAction( - PwmSetting.NEWUSER_WRITE_ATTRIBUTES ); + final List actions = newUserProfile. + readSettingAsAction( + PwmSetting.NEWUSER_WRITE_ATTRIBUTES ); if ( actions != null && !actions.isEmpty() ) { - NewUserUtils.LOGGER.debug( pwmSession, "executing configured actions to user " + theUser.getEntryDN() ); + NewUserUtils.LOGGER.debug( pwmSession, + "executing configured actions to user " + theUser. + getEntryDN() ); - final ActionExecutor actionExecutor = new ActionExecutor.ActionExecutorSettings( pwmApplication, userIdentity ) + final ActionExecutor actionExecutor = new ActionExecutor.ActionExecutorSettings( + pwmApplication, userIdentity ) .setExpandPwmMacros( true ) - .setMacroMachine( pwmSession.getSessionManager().getMacroMachine( pwmApplication ) ) + .setMacroMachine( pwmSession.getSessionManager(). + getMacroMachine( pwmApplication ) ) .createActionExecutor(); actionExecutor.executeActions( actions, pwmSession.getLabel() ); @@ -328,15 +466,18 @@ static void createUser( // send user email sendNewUserEmailConfirmation( pwmRequest ); - // add audit record - pwmApplication.getAuditManager().submit( AuditEvent.CREATE_USER, pwmSession.getUserInfo(), pwmSession ); + pwmApplication.getAuditManager().submit( AuditEvent.CREATE_USER, + pwmSession.getUserInfo(), pwmSession ); // increment the new user creation statistics - pwmApplication.getStatisticsManager().incrementValue( Statistic.NEW_USERS ); + pwmApplication.getStatisticsManager().incrementValue( + Statistic.NEW_USERS ); - NewUserUtils.LOGGER.debug( pwmSession, "completed createUser process for " + newUserDN + " (" + TimeDuration.fromCurrent( - startTime ).asCompactString() + ")" ); + NewUserUtils.LOGGER.debug( pwmSession, + "completed createUser process for " + newUserDN + " (" + TimeDuration. + fromCurrent( + startTime ).asCompactString() + ")" ); } static void deleteUserAccount( @@ -347,13 +488,19 @@ static void deleteUserAccount( { try { - NewUserUtils.LOGGER.warn( pwmRequest, "deleting ldap user account " + userDN ); - pwmRequest.getConfig().getDefaultLdapProfile().getProxyChaiProvider( pwmRequest.getPwmApplication() ).deleteEntry( userDN ); - NewUserUtils.LOGGER.warn( pwmRequest, "ldap user account " + userDN + " has been deleted" ); + NewUserUtils.LOGGER.warn( pwmRequest, + "deleting ldap user account " + userDN ); + pwmRequest.getConfig().getDefaultLdapProfile(). + getProxyChaiProvider( pwmRequest.getPwmApplication() ). + deleteEntry( userDN ); + NewUserUtils.LOGGER.warn( pwmRequest, + "ldap user account " + userDN + " has been deleted" ); } catch ( ChaiUnavailableException | ChaiOperationException e ) { - NewUserUtils.LOGGER.error( pwmRequest, "error deleting ldap user account " + userDN + ", " + e.getMessage() ); + NewUserUtils.LOGGER.error( pwmRequest, + "error deleting ldap user account " + userDN + ", " + e. + getMessage() ); } pwmRequest.getPwmSession().unauthenticateUser( pwmRequest ); @@ -365,18 +512,26 @@ static String determineUserDN( ) throws PwmUnrecoverableException, ChaiUnavailableException { - final MacroMachine macroMachine = createMacroMachineForNewUser( pwmRequest.getPwmApplication(), pwmRequest.getSessionLabel(), formValues, null ); - final NewUserProfile newUserProfile = NewUserServlet.getNewUserProfile( pwmRequest ); - final List configuredNames = newUserProfile.readSettingAsStringArray( PwmSetting.NEWUSER_USERNAME_DEFINITION ); + final MacroMachine macroMachine = createMacroMachineForNewUser( + pwmRequest.getPwmApplication(), pwmRequest.getSessionLabel(), + formValues, null ); + final NewUserProfile newUserProfile = NewUserServlet.getNewUserProfile( + pwmRequest ); + final List configuredNames = newUserProfile. + readSettingAsStringArray( PwmSetting.NEWUSER_USERNAME_DEFINITION ); final List failedValues = new ArrayList<>(); - final String configuredContext = newUserProfile.readSettingAsString( PwmSetting.NEWUSER_CONTEXT ); - final String expandedContext = macroMachine.expandMacros( configuredContext ); - + final String configuredContext = newUserProfile.readSettingAsString( + PwmSetting.NEWUSER_CONTEXT ); + final String expandedContext = macroMachine.expandMacros( + configuredContext ); - if ( configuredNames == null || configuredNames.isEmpty() || configuredNames.iterator().next().isEmpty() ) + if ( configuredNames == null || configuredNames.isEmpty() || configuredNames. + iterator().next().isEmpty() ) { - final String namingAttribute = pwmRequest.getConfig().getDefaultLdapProfile().readSettingAsString( PwmSetting.LDAP_NAMING_ATTRIBUTE ); + final String namingAttribute = pwmRequest.getConfig(). + getDefaultLdapProfile().readSettingAsString( + PwmSetting.LDAP_NAMING_ATTRIBUTE ); String namingValue = null; for ( final String formKey : formValues.getFormData().keySet() ) { @@ -387,12 +542,14 @@ static String determineUserDN( } if ( namingValue == null || namingValue.isEmpty() ) { - throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + throw new PwmUnrecoverableException( new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, "username definition not set, and naming attribute is not present in form" ) ); } final String escapedName = StringUtil.escapeLdapDN( namingValue ); final String generatedDN = namingAttribute + "=" + escapedName + "," + expandedContext; - NewUserUtils.LOGGER.debug( pwmRequest, "generated dn for new user: " + generatedDN ); + NewUserUtils.LOGGER.debug( pwmRequest, + "generated dn for new user: " + generatedDN ); return generatedDN; } @@ -403,17 +560,23 @@ static String determineUserDN( final String expandedName; { { - final String configuredName = configuredNames.get( attemptCount ); + final String configuredName = configuredNames.get( + attemptCount ); expandedName = macroMachine.expandMacros( configuredName ); } if ( !testIfEntryNameExists( pwmRequest, expandedName ) ) { - NewUserUtils.LOGGER.trace( pwmRequest, "generated entry name for new user is unique: " + expandedName ); - final String namingAttribute = pwmRequest.getConfig().getDefaultLdapProfile().readSettingAsString( PwmSetting.LDAP_NAMING_ATTRIBUTE ); - final String escapedName = StringUtil.escapeLdapDN( expandedName ); + NewUserUtils.LOGGER.trace( pwmRequest, + "generated entry name for new user is unique: " + expandedName ); + final String namingAttribute = pwmRequest.getConfig(). + getDefaultLdapProfile().readSettingAsString( + PwmSetting.LDAP_NAMING_ATTRIBUTE ); + final String escapedName = StringUtil.escapeLdapDN( + expandedName ); generatedDN = namingAttribute + "=" + escapedName + "," + expandedContext; - NewUserUtils.LOGGER.debug( pwmRequest, "generated dn for new user: " + generatedDN ); + NewUserUtils.LOGGER.debug( pwmRequest, + "generated dn for new user: " + generatedDN ); return generatedDN; } else @@ -422,13 +585,16 @@ static String determineUserDN( } } - NewUserUtils.LOGGER.debug( pwmRequest, "generated entry name for new user is not unique, will try again" ); + NewUserUtils.LOGGER.debug( pwmRequest, + "generated entry name for new user is not unique, will try again" ); attemptCount++; } NewUserUtils.LOGGER.error( pwmRequest, - "failed to generate new user DN after " + attemptCount + " attempts, failed values: " + JsonUtil.serializeCollection( - failedValues ) ); - throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, + "failed to generate new user DN after " + attemptCount + " attempts, failed values: " + JsonUtil. + serializeCollection( + failedValues ) ); + throw new PwmUnrecoverableException( new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, "unable to generate a unique DN value" ) ); } @@ -438,22 +604,28 @@ private static boolean testIfEntryNameExists( ) throws PwmUnrecoverableException, ChaiUnavailableException { - final UserSearchEngine userSearchEngine = pwmRequest.getPwmApplication().getUserSearchEngine(); - final SearchConfiguration searchConfiguration = SearchConfiguration.builder() + final UserSearchEngine userSearchEngine = pwmRequest.getPwmApplication(). + getUserSearchEngine(); + final SearchConfiguration searchConfiguration = SearchConfiguration. + builder() .username( rdnValue ) .build(); try { - final Map> results = userSearchEngine.performMultiUserSearch( - searchConfiguration, 2, Collections.emptyList(), pwmRequest.getSessionLabel() ); + final Map> results = userSearchEngine. + performMultiUserSearch( + searchConfiguration, 2, Collections.emptyList(), + pwmRequest.getSessionLabel() ); return results != null && !results.isEmpty(); } catch ( PwmOperationalException e ) { - final String msg = "ldap error while searching for duplicate entry names: " + e.getMessage(); + final String msg = "ldap error while searching for duplicate entry names: " + e. + getMessage(); NewUserUtils.LOGGER.error( pwmRequest, msg ); - throw new PwmUnrecoverableException( new ErrorInformation( PwmError.ERROR_NEW_USER_FAILURE, msg ) ); + throw new PwmUnrecoverableException( new ErrorInformation( + PwmError.ERROR_NEW_USER_FAILURE, msg ) ); } } @@ -466,19 +638,22 @@ private static void sendNewUserEmailConfirmation( final UserInfo userInfo = pwmSession.getUserInfo(); final Configuration config = pwmRequest.getConfig(); final Locale locale = pwmSession.getSessionStateBean().getLocale(); - final EmailItemBean configuredEmailSetting = config.readSettingAsEmail( PwmSetting.EMAIL_NEWUSER, locale ); + final EmailItemBean configuredEmailSetting = config.readSettingAsEmail( + PwmSetting.EMAIL_NEWUSER, locale ); if ( configuredEmailSetting == null ) { NewUserUtils.LOGGER.debug( pwmSession, - "skipping send of new user email for '" + userInfo.getUserIdentity().getUserDN() + "' no email configured" ); + "skipping send of new user email for '" + userInfo. + getUserIdentity().getUserDN() + "' no email configured" ); return; } pwmRequest.getPwmApplication().getEmailQueue().submitEmail( configuredEmailSetting, pwmSession.getUserInfo(), - pwmSession.getSessionManager().getMacroMachine( pwmRequest.getPwmApplication() ) + pwmSession.getSessionManager().getMacroMachine( pwmRequest. + getPwmApplication() ) ); } @@ -492,10 +667,13 @@ static MacroMachine createMacroMachineForNewUser( { final Map formValues = newUserForm.getFormData(); - final String emailAddressAttribute = pwmApplication.getConfig().getDefaultLdapProfile().readSettingAsString( - PwmSetting.EMAIL_USER_MAIL_ATTRIBUTE ); + final String emailAddressAttribute = pwmApplication.getConfig(). + getDefaultLdapProfile().readSettingAsString( + PwmSetting.EMAIL_USER_MAIL_ATTRIBUTE ); - final String usernameAttribute = pwmApplication.getConfig().getDefaultLdapProfile().readSettingAsString( PwmSetting.LDAP_USERNAME_ATTRIBUTE ); + final String usernameAttribute = pwmApplication.getConfig(). + getDefaultLdapProfile().readSettingAsString( + PwmSetting.LDAP_USERNAME_ATTRIBUTE ); final LoginInfoBean stubLoginBean = new LoginInfoBean(); stubLoginBean.setUserCurrentPassword( newUserForm.getNewUserPassword() ); @@ -510,18 +688,23 @@ static MacroMachine createMacroMachineForNewUser( ? null : TokenUtil.makeTokenDestStringReplacer( tokenDestinationItem ); - return MacroMachine.forUser( pwmApplication, sessionLabel, stubUserBean, stubLoginBean, stringReplacer ); + return MacroMachine.forUser( pwmApplication, sessionLabel, stubUserBean, + stubLoginBean, stringReplacer ); } - static Map figureDisplayableProfiles( final PwmRequest pwmRequest ) + static Map figureDisplayableProfiles( + final PwmRequest pwmRequest ) { final Map returnMap = new LinkedHashMap<>(); - for ( final NewUserProfile newUserProfile : pwmRequest.getConfig().getNewUserProfiles().values() ) + for ( final NewUserProfile newUserProfile : pwmRequest.getConfig(). + getNewUserProfiles().values() ) { - final boolean visible = newUserProfile.readSettingAsBoolean( PwmSetting.NEWUSER_PROFILE_DISPLAY_VISIBLE ); + final boolean visible = newUserProfile.readSettingAsBoolean( + PwmSetting.NEWUSER_PROFILE_DISPLAY_VISIBLE ); if ( visible ) { - returnMap.put( newUserProfile.getIdentifier(), newUserProfile.getDisplayName( pwmRequest.getLocale() ) ); + returnMap.put( newUserProfile.getIdentifier(), newUserProfile. + getDisplayName( pwmRequest.getLocale() ) ); } } return Collections.unmodifiableMap( returnMap ); @@ -530,7 +713,6 @@ static Map figureDisplayableProfiles( final PwmRequest pwmReques static void remoteVerifyFormData( final PwmRequest pwmRequest, final NewUserForm newUserForm - ) throws PwmUnrecoverableException, PwmDataValidationException { @@ -544,7 +726,6 @@ static void remoteVerifyFormData( static void remoteWriteFormData( final PwmRequest pwmRequest, final NewUserForm newUserForm - ) throws PwmUnrecoverableException, PwmDataValidationException { @@ -559,42 +740,49 @@ private static void remoteSendFormData( final PwmRequest pwmRequest, final NewUserForm newUserForm, final FormDataRequestBean.Mode mode - ) throws PwmUnrecoverableException, PwmDataValidationException { - final RestFormDataClient restFormDataClient = new RestFormDataClient( pwmRequest.getPwmApplication(), pwmRequest.getSessionLabel() ); + final RestFormDataClient restFormDataClient = new RestFormDataClient( + pwmRequest.getPwmApplication(), pwmRequest.getSessionLabel() ); if ( !restFormDataClient.isEnabled() ) { return; } - final NewUserBean newUserBean = NewUserServlet.getNewUserBean( pwmRequest ); - final NewUserProfile newUserProfile = NewUserServlet.getNewUserProfile( pwmRequest ); + final NewUserBean newUserBean = NewUserServlet.getNewUserBean( + pwmRequest ); + final NewUserProfile newUserProfile = NewUserServlet.getNewUserProfile( + pwmRequest ); - final FormDataRequestBean.FormInfo formInfo = FormDataRequestBean.FormInfo.builder() + final FormDataRequestBean.FormInfo formInfo = FormDataRequestBean.FormInfo. + builder() .mode( mode ) .moduleProfileID( newUserBean.getProfileID() ) - .sessionID( pwmRequest.getPwmSession().getLoginInfoBean().getGuid() ) + .sessionID( pwmRequest.getPwmSession().getLoginInfoBean(). + getGuid() ) .module( FormDataRequestBean.FormType.NewUser ) .build(); - final FormDataRequestBean formDataRequestBean = FormDataRequestBean.builder() + final FormDataRequestBean formDataRequestBean = FormDataRequestBean. + builder() .formInfo( formInfo ) - .formConfigurations( newUserProfile.readSettingAsForm( PwmSetting.NEWUSER_FORM ) ) + .formConfigurations( newUserProfile.readSettingAsForm( + PwmSetting.NEWUSER_FORM ) ) .formValues( newUserForm.getFormData() ) .build(); - final FormDataResponseBean formDataResponseBean = restFormDataClient.invoke( formDataRequestBean, pwmRequest.getLocale() ); + final FormDataResponseBean formDataResponseBean = restFormDataClient. + invoke( formDataRequestBean, pwmRequest.getLocale() ); if ( formDataResponseBean.isError() ) { final ErrorInformation error = new ErrorInformation( PwmError.ERROR_REMOTE_ERROR_VALUE, formDataResponseBean.getErrorDetail(), new String[] - { - formDataResponseBean.getErrorMessage(), - } + { + formDataResponseBean.getErrorMessage(), + } ); throw new PwmDataValidationException( error ); } @@ -607,31 +795,39 @@ static Map determineTokenValidationsRequired( ) throws PwmUnrecoverableException { - final List formFields = newUserProfile.readSettingAsForm( PwmSetting.NEWUSER_FORM ); - final LdapProfile defaultLDAPProfile = pwmRequest.getConfig().getDefaultLdapProfile(); - - final Map workingMap = new LinkedHashMap<>( FormUtility.identifyFormItemsNeedingPotentialTokenValidation( - defaultLDAPProfile, - formFields - ) ); - - final Set interestedTypes = new HashSet<>( ); - if ( newUserProfile.readSettingAsBoolean( PwmSetting.NEWUSER_EMAIL_VERIFICATION ) ) + final List formFields = newUserProfile. + readSettingAsForm( PwmSetting.NEWUSER_FORM ); + final LdapProfile defaultLDAPProfile = pwmRequest.getConfig(). + getDefaultLdapProfile(); + + final Map workingMap = new LinkedHashMap<>( + FormUtility.identifyFormItemsNeedingPotentialTokenValidation( + defaultLDAPProfile, + formFields + ) ); + + final Set interestedTypes = new HashSet<>(); + if ( newUserProfile.readSettingAsBoolean( + PwmSetting.NEWUSER_EMAIL_VERIFICATION ) ) { interestedTypes.add( TokenDestinationItem.Type.email ); } - if ( newUserProfile.readSettingAsBoolean( PwmSetting.NEWUSER_SMS_VERIFICATION ) ) + if ( newUserProfile.readSettingAsBoolean( + PwmSetting.NEWUSER_SMS_VERIFICATION ) ) { interestedTypes.add( TokenDestinationItem.Type.sms ); } if ( !JavaHelper.isEmpty( workingMap ) ) { - final Map formData = newUserBean.getNewUserForm().getFormData(); + final Map formData = newUserBean.getNewUserForm(). + getFormData(); - for ( final Iterator> iter = workingMap.entrySet().iterator(); iter.hasNext(); ) + for ( final Iterator> iter = workingMap. + entrySet().iterator(); iter.hasNext(); ) { - final Map.Entry entry = iter.next(); + final Map.Entry entry = iter. + next(); final String attrName = entry.getKey(); final TokenDestinationItem.Type type = entry.getValue(); @@ -664,46 +860,58 @@ static ProcessStatus checkForTokenVerificationProgress( if ( !requiredTokenValidations.isEmpty() ) { - final Set remainingValidations = new HashSet<>( requiredTokenValidations.keySet() ); - remainingValidations.removeAll( newUserBean.getCompletedTokenFields() ); + final Set remainingValidations = new HashSet<>( + requiredTokenValidations.keySet() ); + remainingValidations.removeAll( newUserBean. + getCompletedTokenFields() ); if ( !remainingValidations.isEmpty() ) { if ( StringUtil.isEmpty( newUserBean.getCurrentTokenField() ) ) { - newUserBean.setCurrentTokenField( remainingValidations.iterator().next() ); + newUserBean.setCurrentTokenField( remainingValidations. + iterator().next() ); newUserBean.setTokenSent( false ); } if ( !newUserBean.isTokenSent() ) { - final TokenDestinationItem tokenDestinationItem = tokenDestinationItemForCurrentValidation( pwmRequest, newUserBean, newUserProfile ); + final TokenDestinationItem tokenDestinationItem = tokenDestinationItemForCurrentValidation( + pwmRequest, newUserBean, newUserProfile ); if ( pwmRequest.getConfig().getTokenStorageMethod() == TokenStorageMethod.STORE_LDAP ) { - throw new PwmUnrecoverableException( new ErrorInformation( PwmError.CONFIG_FORMAT_ERROR, null, new String[] { - "cannot generate new user tokens when storage type is configured as STORE_LDAP.", - } ) ); + throw new PwmUnrecoverableException( + new ErrorInformation( + PwmError.CONFIG_FORMAT_ERROR, null, + new String[] + { + "cannot generate new user tokens when storage type is configured as STORE_LDAP.", + } ) ); } - final Map tokenPayloadMap = NewUserFormUtils.toTokenPayload( pwmRequest, newUserBean ); + final Map tokenPayloadMap = NewUserFormUtils. + toTokenPayload( pwmRequest, newUserBean ); final MacroMachine macroMachine = createMacroMachineForNewUser( pwmRequest.getPwmApplication(), pwmRequest.getSessionLabel(), newUserBean.getNewUserForm(), tokenDestinationItem ); - final TimeDuration tokenLifetime = figureTokenLifetime( pwmRequest.getConfig(), newUserProfile, tokenDestinationItem ); - + final TimeDuration tokenLifetime = figureTokenLifetime( + pwmRequest.getConfig(), newUserProfile, + tokenDestinationItem ); TokenUtil.initializeAndSendToken( pwmRequest, TokenUtil.TokenInitAndSendRequest.builder() - .userInfo( null ) - .tokenDestinationItem( tokenDestinationItem ) - .emailToSend( PwmSetting.EMAIL_NEWUSER_VERIFICATION ) - .tokenType( TokenType.NEWUSER ) - .smsToSend( PwmSetting.SMS_NEWUSER_TOKEN_TEXT ) + .userInfo( null ) + .tokenDestinationItem( tokenDestinationItem ). + emailToSend( + PwmSetting.EMAIL_NEWUSER_VERIFICATION ). + tokenType( TokenType.NEWUSER ) + .smsToSend( + PwmSetting.SMS_NEWUSER_TOKEN_TEXT ) .inputTokenData( tokenPayloadMap ) .macroMachine( macroMachine ) .tokenLifetime( tokenLifetime ) @@ -712,7 +920,8 @@ static ProcessStatus checkForTokenVerificationProgress( newUserBean.setTokenSent( true ); } - NewUserServlet.forwardToEnterCode( pwmRequest, newUserProfile, newUserBean ); + NewUserServlet.forwardToEnterCode( pwmRequest, newUserProfile, + newUserBean ); return ProcessStatus.Halt; } } @@ -732,16 +941,21 @@ static TokenDestinationItem tokenDestinationItemForCurrentValidation( return null; } - final List formFields = newUserProfile.readSettingAsForm( PwmSetting.NEWUSER_FORM ); - final LdapProfile defaultLDAPProfile = pwmRequest.getConfig().getDefaultLdapProfile(); - - final Map tokenTypeMap = FormUtility.identifyFormItemsNeedingPotentialTokenValidation( - defaultLDAPProfile, - formFields - ); - - final String value = newUserBean.getNewUserForm().getFormData().get( newUserBean.getCurrentTokenField() ); - final TokenDestinationItem.Type type = tokenTypeMap.get( newUserBean.getCurrentTokenField() ); + final List formFields = newUserProfile. + readSettingAsForm( PwmSetting.NEWUSER_FORM ); + final LdapProfile defaultLDAPProfile = pwmRequest.getConfig(). + getDefaultLdapProfile(); + + final Map tokenTypeMap = FormUtility. + identifyFormItemsNeedingPotentialTokenValidation( + defaultLDAPProfile, + formFields + ); + + final String value = newUserBean.getNewUserForm().getFormData().get( + newUserBean.getCurrentTokenField() ); + final TokenDestinationItem.Type type = tokenTypeMap.get( newUserBean. + getCurrentTokenField() ); return TokenDestinationItem.builder() .display( value ) .id( "1" ) diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthConsumerServlet.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthConsumerServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthForgottenPasswordResults.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthForgottenPasswordResults.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthMachine.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthRequestState.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthRequestState.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthResolveResults.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthResolveResults.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthSettings.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthState.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthState.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/oauth/OAuthUseCase.java b/server/src/main/java/password/pwm/http/servlet/oauth/OAuthUseCase.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/AttributeDetailBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/AttributeDetailBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/LinkReferenceBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/LinkReferenceBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/OrgChartDataBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/OrgChartDataBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/OrgChartReferenceBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/OrgChartReferenceBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchClientConfigBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchClientConfigBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchConfiguration.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchDataReader.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchDataReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchResourcesServlet.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchResourcesServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchServlet.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PeopleSearchServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PrivatePeopleSearchServlet.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PrivatePeopleSearchServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/PublicPeopleSearchServlet.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/PublicPeopleSearchServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/SearchResultBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/SearchResultBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/UserDetailBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/UserDetailBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/peoplesearch/UserReferenceBean.java b/server/src/main/java/password/pwm/http/servlet/peoplesearch/UserReferenceBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/CacheEntry.java b/server/src/main/java/password/pwm/http/servlet/resource/CacheEntry.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/CacheKey.java b/server/src/main/java/password/pwm/http/servlet/resource/CacheKey.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/FileResource.java b/server/src/main/java/password/pwm/http/servlet/resource/FileResource.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/MemoryFileResource.java b/server/src/main/java/password/pwm/http/servlet/resource/MemoryFileResource.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/RealFileResource.java b/server/src/main/java/password/pwm/http/servlet/resource/RealFileResource.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/ResourceFileServlet.java b/server/src/main/java/password/pwm/http/servlet/resource/ResourceFileServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/ResourceServletConfiguration.java b/server/src/main/java/password/pwm/http/servlet/resource/ResourceServletConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/ResourceServletService.java b/server/src/main/java/password/pwm/http/servlet/resource/ResourceServletService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/UncacheableResourceException.java b/server/src/main/java/password/pwm/http/servlet/resource/UncacheableResourceException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/resource/ZipFileResource.java b/server/src/main/java/password/pwm/http/servlet/resource/ZipFileResource.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/updateprofile/UpdateProfileServlet.java b/server/src/main/java/password/pwm/http/servlet/updateprofile/UpdateProfileServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/servlet/updateprofile/UpdateProfileUtil.java b/server/src/main/java/password/pwm/http/servlet/updateprofile/UpdateProfileUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/CryptoCookieBeanImpl.java b/server/src/main/java/password/pwm/http/state/CryptoCookieBeanImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/CryptoCookieLoginImpl.java b/server/src/main/java/password/pwm/http/state/CryptoCookieLoginImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/CryptoRequestBeanImpl.java b/server/src/main/java/password/pwm/http/state/CryptoRequestBeanImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/LocalLoginSessionImpl.java b/server/src/main/java/password/pwm/http/state/LocalLoginSessionImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/LocalSessionBeanImpl.java b/server/src/main/java/password/pwm/http/state/LocalSessionBeanImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/SessionBeanProvider.java b/server/src/main/java/password/pwm/http/state/SessionBeanProvider.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/SessionLoginProvider.java b/server/src/main/java/password/pwm/http/state/SessionLoginProvider.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/state/SessionStateService.java b/server/src/main/java/password/pwm/http/state/SessionStateService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/CurrentUrlTag.java b/server/src/main/java/password/pwm/http/tag/CurrentUrlTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/DisplayTag.java b/server/src/main/java/password/pwm/http/tag/DisplayTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/ErrorMessageTag.java b/server/src/main/java/password/pwm/http/tag/ErrorMessageTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/JspThrowableHandlerTag.java b/server/src/main/java/password/pwm/http/tag/JspThrowableHandlerTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PasswordRequirementsTag.java b/server/src/main/java/password/pwm/http/tag/PasswordRequirementsTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmAbstractTag.java b/server/src/main/java/password/pwm/http/tag/PwmAbstractTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmAutofocusTag.java b/server/src/main/java/password/pwm/http/tag/PwmAutofocusTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmContextTag.java b/server/src/main/java/password/pwm/http/tag/PwmContextTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmFormIDTag.java b/server/src/main/java/password/pwm/http/tag/PwmFormIDTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmMacroTag.java b/server/src/main/java/password/pwm/http/tag/PwmMacroTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmScriptRefTag.java b/server/src/main/java/password/pwm/http/tag/PwmScriptRefTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/PwmScriptTag.java b/server/src/main/java/password/pwm/http/tag/PwmScriptTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/SuccessMessageTag.java b/server/src/main/java/password/pwm/http/tag/SuccessMessageTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/UserInfoTag.java b/server/src/main/java/password/pwm/http/tag/UserInfoTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/conditional/PwmIfOptions.java b/server/src/main/java/password/pwm/http/tag/conditional/PwmIfOptions.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/conditional/PwmIfTag.java b/server/src/main/java/password/pwm/http/tag/conditional/PwmIfTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/conditional/PwmIfTest.java b/server/src/main/java/password/pwm/http/tag/conditional/PwmIfTest.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/url/PwmThemeURL.java b/server/src/main/java/password/pwm/http/tag/url/PwmThemeURL.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/url/PwmUrlTag.java b/server/src/main/java/password/pwm/http/tag/url/PwmUrlTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/value/PwmValue.java b/server/src/main/java/password/pwm/http/tag/value/PwmValue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/value/PwmValueTag.java b/server/src/main/java/password/pwm/http/tag/value/PwmValueTag.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/http/tag/value/ValueOutput.java b/server/src/main/java/password/pwm/http/tag/value/ValueOutput.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/Admin.java b/server/src/main/java/password/pwm/i18n/Admin.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/Config.java b/server/src/main/java/password/pwm/i18n/Config.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/ConfigGuide.java b/server/src/main/java/password/pwm/i18n/ConfigGuide.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/Display.java b/server/src/main/java/password/pwm/i18n/Display.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/Error.java b/server/src/main/java/password/pwm/i18n/Error.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/Health.java b/server/src/main/java/password/pwm/i18n/Health.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/Message.java b/server/src/main/java/password/pwm/i18n/Message.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/PwmDisplayBundle.java b/server/src/main/java/password/pwm/i18n/PwmDisplayBundle.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/PwmLocaleBundle.java b/server/src/main/java/password/pwm/i18n/PwmLocaleBundle.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/i18n/PwmSetting.java b/server/src/main/java/password/pwm/i18n/PwmSetting.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/LdapBrowser.java b/server/src/main/java/password/pwm/ldap/LdapBrowser.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/LdapConnectionService.java b/server/src/main/java/password/pwm/ldap/LdapConnectionService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/LdapDebugDataGenerator.java b/server/src/main/java/password/pwm/ldap/LdapDebugDataGenerator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/LdapOperationsHelper.java b/server/src/main/java/password/pwm/ldap/LdapOperationsHelper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/LdapPermissionTester.java b/server/src/main/java/password/pwm/ldap/LdapPermissionTester.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/PasswordChangeProgressChecker.java b/server/src/main/java/password/pwm/ldap/PasswordChangeProgressChecker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/PhotoDataBean.java b/server/src/main/java/password/pwm/ldap/PhotoDataBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/PwmLdapVendor.java b/server/src/main/java/password/pwm/ldap/PwmLdapVendor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/UserInfo.java b/server/src/main/java/password/pwm/ldap/UserInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/UserInfoBean.java b/server/src/main/java/password/pwm/ldap/UserInfoBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/UserInfoFactory.java b/server/src/main/java/password/pwm/ldap/UserInfoFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/UserInfoReader.java b/server/src/main/java/password/pwm/ldap/UserInfoReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/ViewableUserInfoDisplayReader.java b/server/src/main/java/password/pwm/ldap/ViewableUserInfoDisplayReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/AuthenticationRequest.java b/server/src/main/java/password/pwm/ldap/auth/AuthenticationRequest.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/AuthenticationResult.java b/server/src/main/java/password/pwm/ldap/auth/AuthenticationResult.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/AuthenticationStrategy.java b/server/src/main/java/password/pwm/ldap/auth/AuthenticationStrategy.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/AuthenticationType.java b/server/src/main/java/password/pwm/ldap/auth/AuthenticationType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/AuthenticationUtility.java b/server/src/main/java/password/pwm/ldap/auth/AuthenticationUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/LDAPAuthenticationRequest.java b/server/src/main/java/password/pwm/ldap/auth/LDAPAuthenticationRequest.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/PwmAuthenticationSource.java b/server/src/main/java/password/pwm/ldap/auth/PwmAuthenticationSource.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/SessionAuthenticator.java b/server/src/main/java/password/pwm/ldap/auth/SessionAuthenticator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/auth/SimpleLdapAuthenticator.java b/server/src/main/java/password/pwm/ldap/auth/SimpleLdapAuthenticator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/schema/EdirSchemaExtender.java b/server/src/main/java/password/pwm/ldap/schema/EdirSchemaExtender.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/schema/SchemaDefinition.java b/server/src/main/java/password/pwm/ldap/schema/SchemaDefinition.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/schema/SchemaExtender.java b/server/src/main/java/password/pwm/ldap/schema/SchemaExtender.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/schema/SchemaManager.java b/server/src/main/java/password/pwm/ldap/schema/SchemaManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/schema/SchemaOperationResult.java b/server/src/main/java/password/pwm/ldap/schema/SchemaOperationResult.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/search/SearchConfiguration.java b/server/src/main/java/password/pwm/ldap/search/SearchConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/search/UserSearchEngine.java b/server/src/main/java/password/pwm/ldap/search/UserSearchEngine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/search/UserSearchJob.java b/server/src/main/java/password/pwm/ldap/search/UserSearchJob.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ldap/search/UserSearchResults.java b/server/src/main/java/password/pwm/ldap/search/UserSearchResults.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/PwmService.java b/server/src/main/java/password/pwm/svc/PwmService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/PwmServiceEnum.java b/server/src/main/java/password/pwm/svc/PwmServiceEnum.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/PwmServiceManager.java b/server/src/main/java/password/pwm/svc/PwmServiceManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CacheDebugItem.java b/server/src/main/java/password/pwm/svc/cache/CacheDebugItem.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CacheKey.java b/server/src/main/java/password/pwm/svc/cache/CacheKey.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CachePolicy.java b/server/src/main/java/password/pwm/svc/cache/CachePolicy.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CacheService.java b/server/src/main/java/password/pwm/svc/cache/CacheService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CacheStore.java b/server/src/main/java/password/pwm/svc/cache/CacheStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CacheStoreInfo.java b/server/src/main/java/password/pwm/svc/cache/CacheStoreInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/CacheValueType.java b/server/src/main/java/password/pwm/svc/cache/CacheValueType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cache/MemoryCacheStore.java b/server/src/main/java/password/pwm/svc/cache/MemoryCacheStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cluster/ClusterMachine.java b/server/src/main/java/password/pwm/svc/cluster/ClusterMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cluster/ClusterService.java b/server/src/main/java/password/pwm/svc/cluster/ClusterService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cluster/ClusterSettings.java b/server/src/main/java/password/pwm/svc/cluster/ClusterSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cluster/NodeInfo.java b/server/src/main/java/password/pwm/svc/cluster/NodeInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/cluster/StoredNodeData.java b/server/src/main/java/password/pwm/svc/cluster/StoredNodeData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/email/EmailConnection.java b/server/src/main/java/password/pwm/svc/email/EmailConnection.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/email/EmailServer.java b/server/src/main/java/password/pwm/svc/email/EmailServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/email/EmailServerUtil.java b/server/src/main/java/password/pwm/svc/email/EmailServerUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/email/EmailService.java b/server/src/main/java/password/pwm/svc/email/EmailService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/AuditEvent.java b/server/src/main/java/password/pwm/svc/event/AuditEvent.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/AuditRecord.java b/server/src/main/java/password/pwm/svc/event/AuditRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/AuditRecordFactory.java b/server/src/main/java/password/pwm/svc/event/AuditRecordFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/AuditService.java b/server/src/main/java/password/pwm/svc/event/AuditService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/AuditSettings.java b/server/src/main/java/password/pwm/svc/event/AuditSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/AuditVault.java b/server/src/main/java/password/pwm/svc/event/AuditVault.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/DatabaseUserHistory.java b/server/src/main/java/password/pwm/svc/event/DatabaseUserHistory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/HelpdeskAuditRecord.java b/server/src/main/java/password/pwm/svc/event/HelpdeskAuditRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/LdapXmlUserHistory.java b/server/src/main/java/password/pwm/svc/event/LdapXmlUserHistory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/LocalDbAuditVault.java b/server/src/main/java/password/pwm/svc/event/LocalDbAuditVault.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/SyslogAuditService.java b/server/src/main/java/password/pwm/svc/event/SyslogAuditService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/SystemAuditRecord.java b/server/src/main/java/password/pwm/svc/event/SystemAuditRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/UserAuditRecord.java b/server/src/main/java/password/pwm/svc/event/UserAuditRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/event/UserHistoryStore.java b/server/src/main/java/password/pwm/svc/event/UserHistoryStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/DataStoreRecordStore.java b/server/src/main/java/password/pwm/svc/intruder/DataStoreRecordStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/IntruderManager.java b/server/src/main/java/password/pwm/svc/intruder/IntruderManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/IntruderRecord.java b/server/src/main/java/password/pwm/svc/intruder/IntruderRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/IntruderSettings.java b/server/src/main/java/password/pwm/svc/intruder/IntruderSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/RecordManager.java b/server/src/main/java/password/pwm/svc/intruder/RecordManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/RecordManagerImpl.java b/server/src/main/java/password/pwm/svc/intruder/RecordManagerImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/RecordStore.java b/server/src/main/java/password/pwm/svc/intruder/RecordStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/RecordType.java b/server/src/main/java/password/pwm/svc/intruder/RecordType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/intruder/StubRecordManager.java b/server/src/main/java/password/pwm/svc/intruder/StubRecordManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyDbStorageService.java b/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyDbStorageService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyEngine.java b/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyEngine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyService.java b/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/PwNotifySettings.java b/server/src/main/java/password/pwm/svc/pwnotify/PwNotifySettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyStorageService.java b/server/src/main/java/password/pwm/svc/pwnotify/PwNotifyStorageService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/StoredJobState.java b/server/src/main/java/password/pwm/svc/pwnotify/StoredJobState.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/pwnotify/StoredNotificationState.java b/server/src/main/java/password/pwm/svc/pwnotify/StoredNotificationState.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/report/ReportCsvUtility.java b/server/src/main/java/password/pwm/svc/report/ReportCsvUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/report/ReportService.java b/server/src/main/java/password/pwm/svc/report/ReportService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/report/ReportSettings.java b/server/src/main/java/password/pwm/svc/report/ReportSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/report/ReportStatusInfo.java b/server/src/main/java/password/pwm/svc/report/ReportStatusInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/report/ReportSummaryData.java b/server/src/main/java/password/pwm/svc/report/ReportSummaryData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/sessiontrack/SessionTrackService.java b/server/src/main/java/password/pwm/svc/sessiontrack/SessionTrackService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/sessiontrack/UserAgentUtils.java b/server/src/main/java/password/pwm/svc/sessiontrack/UserAgentUtils.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/shorturl/AbstractUrlShortener.java b/server/src/main/java/password/pwm/svc/shorturl/AbstractUrlShortener.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/shorturl/BasicUrlShortener.java b/server/src/main/java/password/pwm/svc/shorturl/BasicUrlShortener.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/shorturl/TinyUrlShortener.java b/server/src/main/java/password/pwm/svc/shorturl/TinyUrlShortener.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/shorturl/UrlShortenerService.java b/server/src/main/java/password/pwm/svc/shorturl/UrlShortenerService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/stats/EpsStatistic.java b/server/src/main/java/password/pwm/svc/stats/EpsStatistic.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/stats/EventRateMeter.java b/server/src/main/java/password/pwm/svc/stats/EventRateMeter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/stats/Statistic.java b/server/src/main/java/password/pwm/svc/stats/Statistic.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/stats/StatisticsBundle.java b/server/src/main/java/password/pwm/svc/stats/StatisticsBundle.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/stats/StatisticsManager.java b/server/src/main/java/password/pwm/svc/stats/StatisticsManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/telemetry/FtpTelemetrySender.java b/server/src/main/java/password/pwm/svc/telemetry/FtpTelemetrySender.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/telemetry/HttpTelemetrySender.java b/server/src/main/java/password/pwm/svc/telemetry/HttpTelemetrySender.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/telemetry/TelemetrySender.java b/server/src/main/java/password/pwm/svc/telemetry/TelemetrySender.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/telemetry/TelemetryService.java b/server/src/main/java/password/pwm/svc/telemetry/TelemetryService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/CryptoTokenMachine.java b/server/src/main/java/password/pwm/svc/token/CryptoTokenMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/DataStoreTokenMachine.java b/server/src/main/java/password/pwm/svc/token/DataStoreTokenMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/LdapTokenMachine.java b/server/src/main/java/password/pwm/svc/token/LdapTokenMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/StoredTokenKey.java b/server/src/main/java/password/pwm/svc/token/StoredTokenKey.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenDestinationDisplayMasker.java b/server/src/main/java/password/pwm/svc/token/TokenDestinationDisplayMasker.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenKey.java b/server/src/main/java/password/pwm/svc/token/TokenKey.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenMachine.java b/server/src/main/java/password/pwm/svc/token/TokenMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenPayload.java b/server/src/main/java/password/pwm/svc/token/TokenPayload.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenService.java b/server/src/main/java/password/pwm/svc/token/TokenService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenType.java b/server/src/main/java/password/pwm/svc/token/TokenType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/token/TokenUtil.java b/server/src/main/java/password/pwm/svc/token/TokenUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/AbstractWordlist.java b/server/src/main/java/password/pwm/svc/wordlist/AbstractWordlist.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/Populator.java b/server/src/main/java/password/pwm/svc/wordlist/Populator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/SeedlistManager.java b/server/src/main/java/password/pwm/svc/wordlist/SeedlistManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/SharedHistoryManager.java b/server/src/main/java/password/pwm/svc/wordlist/SharedHistoryManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/StoredWordlistDataBean.java b/server/src/main/java/password/pwm/svc/wordlist/StoredWordlistDataBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/Wordlist.java b/server/src/main/java/password/pwm/svc/wordlist/Wordlist.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/WordlistConfiguration.java b/server/src/main/java/password/pwm/svc/wordlist/WordlistConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/WordlistManager.java b/server/src/main/java/password/pwm/svc/wordlist/WordlistManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/WordlistType.java b/server/src/main/java/password/pwm/svc/wordlist/WordlistType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/svc/wordlist/ZipReader.java b/server/src/main/java/password/pwm/svc/wordlist/ZipReader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/AlertHandler.java b/server/src/main/java/password/pwm/util/AlertHandler.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/BasicAuthInfo.java b/server/src/main/java/password/pwm/util/BasicAuthInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/CASFilterAuthenticationProvider.java b/server/src/main/java/password/pwm/util/CASFilterAuthenticationProvider.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/CaptchaUtility.java b/server/src/main/java/password/pwm/util/CaptchaUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/DataStore.java b/server/src/main/java/password/pwm/util/DataStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/DataStoreFactory.java b/server/src/main/java/password/pwm/util/DataStoreFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/FormMap.java b/server/src/main/java/password/pwm/util/FormMap.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/FreeIpaUserAdd.java b/server/src/main/java/password/pwm/util/FreeIpaUserAdd.java new file mode 100755 index 000000000..dcf34adc8 --- /dev/null +++ b/server/src/main/java/password/pwm/util/FreeIpaUserAdd.java @@ -0,0 +1,286 @@ +/* + * Password Management Servlets (PWM) + * http://www.pwm-project.org + * + * Copyright (c) 2006-2009 Novell, Inc. + * Copyright (c) 2009-2018 The PWM Project + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +package password.pwm.util; + +import java.io.IOException; +import java.security.KeyManagementException; +import java.security.KeyStoreException; +import java.security.NoSuchAlgorithmException; +import java.util.Map; +import java.util.ArrayList; +import org.apache.http.Header; +import org.apache.http.NameValuePair; +import org.apache.http.client.CookieStore; +import org.apache.http.client.entity.UrlEncodedFormEntity; +import org.apache.http.client.methods.CloseableHttpResponse; +import org.apache.http.client.methods.HttpPost; +import org.apache.http.client.protocol.HttpClientContext; +import org.apache.http.cookie.Cookie; +import org.apache.http.entity.ContentType; +import org.apache.http.entity.StringEntity; +import org.apache.http.impl.client.BasicCookieStore; +import org.apache.http.impl.client.CloseableHttpClient; +import org.apache.http.impl.client.HttpClients; +import org.apache.http.message.BasicNameValuePair; +import org.apache.http.protocol.HttpContext; +import org.apache.http.protocol.BasicHttpContext; +import org.apache.http.ssl.SSLContextBuilder; +import org.apache.http.conn.ssl.NoopHostnameVerifier; +import org.apache.http.conn.ssl.TrustAllStrategy; + +public class FreeIpaUserAdd +{ + + public static final int RESULT_ATTRIBUTES_PARSE = -1; + public static final int RESULT_INSUFFICIENT_ATTRIBUTES = 0; + public static final int RESULT_USER_CREATED = 1; + public static final int RESULT_CREATE_FAILED = 2; + public static final int RESULT_AUTH_SUCCESS = 11; + public static final int RESULT_AUTH_EXPIRED = 12; + public static final int RESULT_AUTH_INVALID = 13; + public static final int RESULT_AUTH_DENIED = 14; + public static final int RESULT_AUTH_UNKNOWN_ERROR = 15; + + private static final String IPA_REQUIRED_UID = "uid"; + private static final String IPA_REQUIRED_SN = "sn"; + private static final String IPA_REQUIRED_GIVENNAME = "givenname"; + + private static final String IPA_REFERRAL_PAGE = "/ipa"; + private static final String IPA_SESSION_AUTH_PAGE = "/ipa/session/login_password"; + private static final String IPA_SESSION_JSON_PAGE = "/ipa/session/json"; + + private static final String CREATE_USER_JSON_HEAD = "{\"method\":\"user_add\",\"params\":[[\""; + private static final String CREATE_USER_JSON_MID = "\"],{"; + private static final String CREATE_USER_JSON_TAIL = " }],\"id\":0}"; + private static final String CREATE_USER_JSON_ATTRIB_FRONT = " \""; + private static final String CREATE_USER_JSON_ATTRIB_MID = "\": \""; + private static final String CREATE_USER_JSON_ATTRIB_END = "\","; + + private final String username; + private final String password; + private final String hostname; + private String jsonRequest; + private final CookieStore cookieStore; + private final Map createAttributes; + private CloseableHttpClient httpClient = null; + + public FreeIpaUserAdd( final String username, final String password, + final String hostname, final Map createAttributes ) + throws KeyManagementException, NoSuchAlgorithmException, + KeyStoreException + { + this.username = username; + this.password = password; + this.hostname = hostname; + this.createAttributes = createAttributes; + cookieStore = new BasicCookieStore(); + jsonRequest = ""; + + try + { + httpClient = HttpClients.custom().setSSLContext( + new SSLContextBuilder().loadTrustMaterial( null, + TrustAllStrategy.INSTANCE ).build() ). + setSSLHostnameVerifier( NoopHostnameVerifier.INSTANCE ). + build(); + authUser(); + + } + catch ( KeyManagementException | KeyStoreException | NoSuchAlgorithmException e ) + { + + } + } + + private String getURL( final String urlSuffix ) + { + return ( "https://" + hostname + urlSuffix ); + } + + private int makeJSON() + { + boolean hasUID = false; + boolean hasSN = false; + boolean hasGivenName = false; + String jsonTempFront = ""; + String jsonTempEnd = ""; + + for ( Map.Entry attribute + : createAttributes.entrySet() ) + { + final String key = attribute.getKey().toLowerCase(); + final String value = attribute.getValue(); + + if ( key.equalsIgnoreCase( IPA_REQUIRED_UID ) ) + { + hasUID = true; + jsonTempFront = CREATE_USER_JSON_HEAD + value + CREATE_USER_JSON_MID; + } + else + { + if ( key.equalsIgnoreCase( IPA_REQUIRED_SN ) ) + { + hasSN = true; + } + if ( key.equalsIgnoreCase( IPA_REQUIRED_GIVENNAME ) ) + { + hasGivenName = true; + } + + final String tempString = new StringBuffer(). + append( jsonTempEnd ).append( + CREATE_USER_JSON_ATTRIB_FRONT ).append( key ).append( + CREATE_USER_JSON_ATTRIB_MID ).append( value ).append( + CREATE_USER_JSON_ATTRIB_END ).toString(); + jsonTempEnd = tempString; + } + } + if ( hasUID && hasSN && hasGivenName ) + { + if ( jsonTempEnd.length() > 0 ) + { + if ( jsonTempEnd.charAt( jsonTempEnd. + length() - 1 ) == ',' ) + { + jsonRequest = jsonTempFront + jsonTempEnd.substring( 0, + jsonTempEnd.length() - 1 ) + CREATE_USER_JSON_TAIL; + return RESULT_ATTRIBUTES_PARSE; + } + } + } + return RESULT_INSUFFICIENT_ATTRIBUTES; + } + + private int authUser() + { + final HttpPost authPost = new HttpPost( getURL( IPA_SESSION_AUTH_PAGE ) ); + final ArrayList params = new ArrayList(); + params.add( new BasicNameValuePair( "user", username ) ); + params.add( new BasicNameValuePair( "password", password ) ); + try + { + authPost.setEntity( new UrlEncodedFormEntity( params ) ); + authPost.setHeader( "referer", getURL( IPA_REFERRAL_PAGE ) ); + authPost.setHeader( "Content-Type", + "application/x-www-form-urlencoded" ); + authPost.setHeader( "Accept", "text/plain" ); + + final HttpContext httpContext = new BasicHttpContext(); + httpContext.setAttribute( HttpClientContext.COOKIE_STORE, + cookieStore ); + final CloseableHttpResponse authResponse = httpClient.execute( + authPost, httpContext ); + + if ( authResponse.getStatusLine().getStatusCode() == 200 ) + { + authResponse.close(); + + if ( cookieStore != null ) + { + for ( Cookie cookie : cookieStore.getCookies() ) + { + if ( cookie.getName().equals( "ipa_session" ) ) + { + return RESULT_AUTH_SUCCESS; + } + } + } + } + + if ( authResponse.getStatusLine().getStatusCode() == 401 ) + { + final Header[] failReason = authResponse.getHeaders( + "X-IPA-Rejection-Reason" ); + authResponse.close(); + if ( failReason.length > 0 ) + { + if ( failReason[ 0 ].getValue().equals( "password-expired" ) ) + { + return RESULT_AUTH_EXPIRED; + } + + if ( failReason[ 0 ].getValue().equals( "invalid-password" ) ) + { + return RESULT_AUTH_INVALID; + } + + if ( failReason[ 0 ].getValue().equals( "denied" ) ) + { + return RESULT_AUTH_DENIED; + } + } + } + } + catch ( IOException e ) + { + return RESULT_AUTH_UNKNOWN_ERROR; + } + return RESULT_AUTH_UNKNOWN_ERROR; + } + + public int createUser() + { + if ( makeJSON() == RESULT_INSUFFICIENT_ATTRIBUTES ) + { + return RESULT_INSUFFICIENT_ATTRIBUTES; + } + +// final int authResult = authUser(); +// if ( authResult != RESULT_AUTH_SUCCESS ) +// { +// return authResult; +// } + + final StringEntity userRequest = new StringEntity( + jsonRequest, + ContentType.APPLICATION_JSON ); + + final HttpPost userPost = new HttpPost( getURL( IPA_SESSION_JSON_PAGE ) ); + try + { + final HttpContext httpContext = new BasicHttpContext(); + httpContext.setAttribute( HttpClientContext.COOKIE_STORE, + cookieStore ); + userPost.setEntity( userRequest ); + userPost.setHeader( "Referer", getURL( IPA_REFERRAL_PAGE ) ); + userPost.setHeader( "Content-Type", "application/json" ); + userPost.setHeader( "Accept", "applicaton/json" ); + + final CloseableHttpResponse userResponse = httpClient.execute( + userPost, httpContext ); + + if ( userResponse.getStatusLine().getStatusCode() == 200 ) + { + userResponse.close(); + return RESULT_USER_CREATED; + } + userResponse.close(); + return RESULT_CREATE_FAILED; + } + catch ( IOException e ) + { + return RESULT_CREATE_FAILED; + } + } + +} diff --git a/server/src/main/java/password/pwm/util/IPMatcher.java b/server/src/main/java/password/pwm/util/IPMatcher.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/JarMain.java b/server/src/main/java/password/pwm/util/JarMain.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/LDAPPermissionCalculator.java b/server/src/main/java/password/pwm/util/LDAPPermissionCalculator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/LocaleHelper.java b/server/src/main/java/password/pwm/util/LocaleHelper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/PasswordCharCounter.java b/server/src/main/java/password/pwm/util/PasswordCharCounter.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/PasswordData.java b/server/src/main/java/password/pwm/util/PasswordData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/PostChangePasswordAction.java b/server/src/main/java/password/pwm/util/PostChangePasswordAction.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/ProgressInfo.java b/server/src/main/java/password/pwm/util/ProgressInfo.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/PwmPasswordRuleValidator.java b/server/src/main/java/password/pwm/util/PwmPasswordRuleValidator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/RandomPasswordGenerator.java b/server/src/main/java/password/pwm/util/RandomPasswordGenerator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/TransactionSizeCalculator.java b/server/src/main/java/password/pwm/util/TransactionSizeCalculator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/Validator.java b/server/src/main/java/password/pwm/util/Validator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/CliEnvironment.java b/server/src/main/java/password/pwm/util/cli/CliEnvironment.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/CliException.java b/server/src/main/java/password/pwm/util/cli/CliException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/CliParameters.java b/server/src/main/java/password/pwm/util/cli/CliParameters.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/MainClass.java b/server/src/main/java/password/pwm/util/cli/MainClass.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/MainOptions.java b/server/src/main/java/password/pwm/util/cli/MainOptions.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/AbstractCliCommand.java b/server/src/main/java/password/pwm/util/cli/commands/AbstractCliCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ClearResponsesCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ClearResponsesCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/CliCommand.java b/server/src/main/java/password/pwm/util/cli/commands/CliCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ConfigDeleteCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ConfigDeleteCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ConfigLockCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ConfigLockCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ConfigNewCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ConfigNewCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ConfigResetHttpsCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ConfigResetHttpsCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ConfigSetPasswordCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ConfigSetPasswordCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ConfigUnlockCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ConfigUnlockCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportAuditCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportAuditCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportHttpsKeyStoreCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportHttpsKeyStoreCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportHttpsTomcatConfigCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportHttpsTomcatConfigCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportLocalDBCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportLocalDBCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportLogsCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportLogsCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportResponsesCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportResponsesCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ExportStatsCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ExportStatsCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/HelpCommand.java b/server/src/main/java/password/pwm/util/cli/commands/HelpCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ImportHttpsKeyStoreCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ImportHttpsKeyStoreCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ImportLocalDBCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ImportLocalDBCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ImportResponsesCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ImportResponsesCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/LdapSchemaExtendCommand.java b/server/src/main/java/password/pwm/util/cli/commands/LdapSchemaExtendCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/LocalDBInfoCommand.java b/server/src/main/java/password/pwm/util/cli/commands/LocalDBInfoCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ResponseStatsCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ResponseStatsCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/ShellCommand.java b/server/src/main/java/password/pwm/util/cli/commands/ShellCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/TokenInfoCommand.java b/server/src/main/java/password/pwm/util/cli/commands/TokenInfoCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/UserReportCommand.java b/server/src/main/java/password/pwm/util/cli/commands/UserReportCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/cli/commands/VersionCommand.java b/server/src/main/java/password/pwm/util/cli/commands/VersionCommand.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DBConfiguration.java b/server/src/main/java/password/pwm/util/db/DBConfiguration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseAccessor.java b/server/src/main/java/password/pwm/util/db/DatabaseAccessor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseAccessorImpl.java b/server/src/main/java/password/pwm/util/db/DatabaseAccessorImpl.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseDataStore.java b/server/src/main/java/password/pwm/util/db/DatabaseDataStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseException.java b/server/src/main/java/password/pwm/util/db/DatabaseException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseService.java b/server/src/main/java/password/pwm/util/db/DatabaseService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseTable.java b/server/src/main/java/password/pwm/util/db/DatabaseTable.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/DatabaseUtil.java b/server/src/main/java/password/pwm/util/db/DatabaseUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/db/JDBCDriverLoader.java b/server/src/main/java/password/pwm/util/db/JDBCDriverLoader.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/form/FormState.java b/server/src/main/java/password/pwm/util/form/FormState.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/form/FormUtility.java b/server/src/main/java/password/pwm/util/form/FormUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/AtomicLoopIntIncrementer.java b/server/src/main/java/password/pwm/util/java/AtomicLoopIntIncrementer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/BlockingThreadPool.java b/server/src/main/java/password/pwm/util/java/BlockingThreadPool.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/CachingProxyWrapper.java b/server/src/main/java/password/pwm/util/java/CachingProxyWrapper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/ClosableIterator.java b/server/src/main/java/password/pwm/util/java/ClosableIterator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/ConditionalTaskExecutor.java b/server/src/main/java/password/pwm/util/java/ConditionalTaskExecutor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/FileSystemUtility.java b/server/src/main/java/password/pwm/util/java/FileSystemUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/JavaHelper.java b/server/src/main/java/password/pwm/util/java/JavaHelper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/JsonUtil.java b/server/src/main/java/password/pwm/util/java/JsonUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/Percent.java b/server/src/main/java/password/pwm/util/java/Percent.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/PwmNumberFormat.java b/server/src/main/java/password/pwm/util/java/PwmNumberFormat.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/Sleeper.java b/server/src/main/java/password/pwm/util/java/Sleeper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/StringUtil.java b/server/src/main/java/password/pwm/util/java/StringUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/TimeDuration.java b/server/src/main/java/password/pwm/util/java/TimeDuration.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/java/XmlUtil.java b/server/src/main/java/password/pwm/util/java/XmlUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/AbstractJDBCLocalDB.java b/server/src/main/java/password/pwm/util/localdb/AbstractJDBCLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/BerkeleyLocalDB.java b/server/src/main/java/password/pwm/util/localdb/BerkeleyLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/DerbyLocalDB.java b/server/src/main/java/password/pwm/util/localdb/DerbyLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/H2LocalDB.java b/server/src/main/java/password/pwm/util/localdb/H2LocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/H2MVLocalDB.java b/server/src/main/java/password/pwm/util/localdb/H2MVLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDB.java b/server/src/main/java/password/pwm/util/localdb/LocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBAdaptor.java b/server/src/main/java/password/pwm/util/localdb/LocalDBAdaptor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBDataStore.java b/server/src/main/java/password/pwm/util/localdb/LocalDBDataStore.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBException.java b/server/src/main/java/password/pwm/util/localdb/LocalDBException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBFactory.java b/server/src/main/java/password/pwm/util/localdb/LocalDBFactory.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBProvider.java b/server/src/main/java/password/pwm/util/localdb/LocalDBProvider.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBService.java b/server/src/main/java/password/pwm/util/localdb/LocalDBService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBStoredQueue.java b/server/src/main/java/password/pwm/util/localdb/LocalDBStoredQueue.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/LocalDBUtility.java b/server/src/main/java/password/pwm/util/localdb/LocalDBUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/MapDBLocalDB.java b/server/src/main/java/password/pwm/util/localdb/MapDBLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/MemoryLocalDB.java b/server/src/main/java/password/pwm/util/localdb/MemoryLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/WorkQueueProcessor.java b/server/src/main/java/password/pwm/util/localdb/WorkQueueProcessor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/localdb/XodusLocalDB.java b/server/src/main/java/password/pwm/util/localdb/XodusLocalDB.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/LocalDBLog4jAppender.java b/server/src/main/java/password/pwm/util/logging/LocalDBLog4jAppender.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/LocalDBLogger.java b/server/src/main/java/password/pwm/util/logging/LocalDBLogger.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/LocalDBLoggerSettings.java b/server/src/main/java/password/pwm/util/logging/LocalDBLoggerSettings.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/LocalDBSearchQuery.java b/server/src/main/java/password/pwm/util/logging/LocalDBSearchQuery.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/LocalDBSearchResults.java b/server/src/main/java/password/pwm/util/logging/LocalDBSearchResults.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/PwmLogEvent.java b/server/src/main/java/password/pwm/util/logging/PwmLogEvent.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/PwmLogLevel.java b/server/src/main/java/password/pwm/util/logging/PwmLogLevel.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/PwmLogManager.java b/server/src/main/java/password/pwm/util/logging/PwmLogManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/logging/PwmLogger.java b/server/src/main/java/password/pwm/util/logging/PwmLogger.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/AbstractMacro.java b/server/src/main/java/password/pwm/util/macro/AbstractMacro.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/ExternalRestMacro.java b/server/src/main/java/password/pwm/util/macro/ExternalRestMacro.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/InternalMacros.java b/server/src/main/java/password/pwm/util/macro/InternalMacros.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/MacroImplementation.java b/server/src/main/java/password/pwm/util/macro/MacroImplementation.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/MacroMachine.java b/server/src/main/java/password/pwm/util/macro/MacroMachine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/MacroParseException.java b/server/src/main/java/password/pwm/util/macro/MacroParseException.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/macro/StandardMacros.java b/server/src/main/java/password/pwm/util/macro/StandardMacros.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/ActionExecutor.java b/server/src/main/java/password/pwm/util/operations/ActionExecutor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/CrService.java b/server/src/main/java/password/pwm/util/operations/CrService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/OtpService.java b/server/src/main/java/password/pwm/util/operations/OtpService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/PasswordUtility.java b/server/src/main/java/password/pwm/util/operations/PasswordUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/cr/CrOperator.java b/server/src/main/java/password/pwm/util/operations/cr/CrOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/cr/DbCrOperator.java b/server/src/main/java/password/pwm/util/operations/cr/DbCrOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/cr/LdapCrOperator.java b/server/src/main/java/password/pwm/util/operations/cr/LdapCrOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/cr/LocalDbCrOperator.java b/server/src/main/java/password/pwm/util/operations/cr/LocalDbCrOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/cr/NMASCrOperator.java b/server/src/main/java/password/pwm/util/operations/cr/NMASCrOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/AbstractOtpOperator.java b/server/src/main/java/password/pwm/util/operations/otp/AbstractOtpOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/DbOtpOperator.java b/server/src/main/java/password/pwm/util/operations/otp/DbOtpOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/LdapOtpOperator.java b/server/src/main/java/password/pwm/util/operations/otp/LdapOtpOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/LocalDbOtpOperator.java b/server/src/main/java/password/pwm/util/operations/otp/LocalDbOtpOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/OTPPamUtil.java b/server/src/main/java/password/pwm/util/operations/otp/OTPPamUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/OTPUrlUtil.java b/server/src/main/java/password/pwm/util/operations/otp/OTPUrlUtil.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/OTPUserRecord.java b/server/src/main/java/password/pwm/util/operations/otp/OTPUserRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/OtpOperator.java b/server/src/main/java/password/pwm/util/operations/otp/OtpOperator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/operations/otp/PasscodeGenerator.java b/server/src/main/java/password/pwm/util/operations/otp/PasscodeGenerator.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/queue/SmsQueueManager.java b/server/src/main/java/password/pwm/util/queue/SmsQueueManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/BCrypt.java b/server/src/main/java/password/pwm/util/secure/BCrypt.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/ChecksumInputStream.java b/server/src/main/java/password/pwm/util/secure/ChecksumInputStream.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/ChecksumOutputStream.java b/server/src/main/java/password/pwm/util/secure/ChecksumOutputStream.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/HmacAlgorithm.java b/server/src/main/java/password/pwm/util/secure/HmacAlgorithm.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/HttpsServerCertificateManager.java b/server/src/main/java/password/pwm/util/secure/HttpsServerCertificateManager.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/PwmBlockAlgorithm.java b/server/src/main/java/password/pwm/util/secure/PwmBlockAlgorithm.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/PwmHashAlgorithm.java b/server/src/main/java/password/pwm/util/secure/PwmHashAlgorithm.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/PwmRandom.java b/server/src/main/java/password/pwm/util/secure/PwmRandom.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/PwmSecurityKey.java b/server/src/main/java/password/pwm/util/secure/PwmSecurityKey.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/SecureEngine.java b/server/src/main/java/password/pwm/util/secure/SecureEngine.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/SecureService.java b/server/src/main/java/password/pwm/util/secure/SecureService.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/util/secure/X509Utils.java b/server/src/main/java/password/pwm/util/secure/X509Utils.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/client/rest/RestClient.java b/server/src/main/java/password/pwm/ws/client/rest/RestClient.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/client/rest/RestClientHelper.java b/server/src/main/java/password/pwm/ws/client/rest/RestClientHelper.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/client/rest/RestTokenDataClient.java b/server/src/main/java/password/pwm/ws/client/rest/RestTokenDataClient.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/client/rest/form/FormDataRequestBean.java b/server/src/main/java/password/pwm/ws/client/rest/form/FormDataRequestBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/client/rest/form/FormDataResponseBean.java b/server/src/main/java/password/pwm/ws/client/rest/form/FormDataResponseBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/client/rest/form/RestFormDataClient.java b/server/src/main/java/password/pwm/ws/client/rest/form/RestFormDataClient.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestAuthentication.java b/server/src/main/java/password/pwm/ws/server/RestAuthentication.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestAuthenticationProcessor.java b/server/src/main/java/password/pwm/ws/server/RestAuthenticationProcessor.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestAuthenticationType.java b/server/src/main/java/password/pwm/ws/server/RestAuthenticationType.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestMethodHandler.java b/server/src/main/java/password/pwm/ws/server/RestMethodHandler.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestRequest.java b/server/src/main/java/password/pwm/ws/server/RestRequest.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestResultBean.java b/server/src/main/java/password/pwm/ws/server/RestResultBean.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestServlet.java b/server/src/main/java/password/pwm/ws/server/RestServlet.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestUtility.java b/server/src/main/java/password/pwm/ws/server/RestUtility.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/RestWebServer.java b/server/src/main/java/password/pwm/ws/server/RestWebServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestChallengesServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestChallengesServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestCheckPasswordServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestCheckPasswordServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestFormSigningServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestFormSigningServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestHealthServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestHealthServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestProfileServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestProfileServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestRandomPasswordServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestRandomPasswordServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestSetPasswordServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestSetPasswordServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestStatisticsServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestStatisticsServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestStatusServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestStatusServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestVerifyOtpServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestVerifyOtpServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/RestVerifyResponsesServer.java b/server/src/main/java/password/pwm/ws/server/rest/RestVerifyResponsesServer.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/bean/HealthData.java b/server/src/main/java/password/pwm/ws/server/rest/bean/HealthData.java old mode 100644 new mode 100755 diff --git a/server/src/main/java/password/pwm/ws/server/rest/bean/HealthRecord.java b/server/src/main/java/password/pwm/ws/server/rest/bean/HealthRecord.java old mode 100644 new mode 100755 diff --git a/server/src/main/resources/password/pwm/AppProperty.properties b/server/src/main/resources/password/pwm/AppProperty.properties old mode 100644 new mode 100755 diff --git a/server/src/main/resources/password/pwm/BuildInformation.properties b/server/src/main/resources/password/pwm/BuildInformation.properties old mode 100644 new mode 100755 diff --git a/server/src/main/resources/password/pwm/PwmConstants.properties b/server/src/main/resources/password/pwm/PwmConstants.properties old mode 100644 new mode 100755 diff --git a/server/src/main/resources/password/pwm/bean/package.html b/server/src/main/resources/password/pwm/bean/package.html old mode 100644 new mode 100755 diff --git a/server/src/main/resources/password/pwm/config/PwmSetting.xml b/server/src/main/resources/password/pwm/config/PwmSetting.xml old mode 100644 new mode 100755 index 8fdadd73f..0e6dc04e1 --- a/server/src/main/resources/password/pwm/config/PwmSetting.xml +++ b/server/src/main/resources/password/pwm/config/PwmSetting.xml @@ -35,6 +35,7 @@ + @@ -485,6 +486,7 @@ CN=@PwmAppName@-Proxy,CN=Users,DC=ad,DC=site,DC=example,DC=com cn=@PwmAppName@-Proxy,cn=Administrators,cn=config cn=@PwmAppName@-Proxy,dc=example,dc=com + uid=@PwmAppName@-Proxy,cn=users,cn=accounts,dc=example,dc=com + + + + +