Github user mdunker commented on a diff in the pull request: https://github.com/apache/usergrid/pull/597#discussion_r220589766 --- Diff: stack/core/src/main/java/org/apache/usergrid/corepersistence/service/ApplicationRestorePasswordServiceImpl.java --- @@ -0,0 +1,72 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.usergrid.corepersistence.service; + +import com.google.common.base.Preconditions; +import com.google.inject.Inject; +import org.apache.commons.lang.StringUtils; +import org.apache.usergrid.corepersistence.util.CpNamingUtils; +import org.apache.usergrid.persistence.map.MapManager; +import org.apache.usergrid.persistence.map.MapManagerFactory; +import org.apache.usergrid.persistence.map.impl.MapScopeImpl; +import org.apache.usergrid.persistence.model.entity.Id; + +import java.util.UUID; + +public class ApplicationRestorePasswordServiceImpl implements ApplicationRestorePasswordService { --- End diff -- This is a feature for managed usergrid apps. When soft deleting an application, a password can be supplied so that an orgadmin for the org containing the app cannot restore the app without supplying the password. This can be used during the GDPR process -- if the owner of the app requests data deletion, that owner should not be able to restore. Sys admin can restore without knowing the password.
---