View Javadoc
1   /*
2    * #%L
3    * wcm.io
4    * %%
5    * Copyright (C) 2014 wcm.io
6    * %%
7    * Licensed under the Apache License, Version 2.0 (the "License");
8    * you may not use this file except in compliance with the License.
9    * You may obtain a copy of the License at
10   *
11   *      http://www.apache.org/licenses/LICENSE-2.0
12   *
13   * Unless required by applicable law or agreed to in writing, software
14   * distributed under the License is distributed on an "AS IS" BASIS,
15   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   * See the License for the specific language governing permissions and
17   * limitations under the License.
18   * #L%
19   */
20  package io.wcm.caravan.commons.httpclient.impl.helpers;
21  
22  /**
23   * Property bean for a key or trust store.
24   */
25  class StoreProperties {
26  
27    private final String password;
28    private final String managerType;
29    private final String type;
30    private final String provider;
31  
32    StoreProperties(String password, String managerType, String type, String provider) {
33      this.password = password;
34      this.managerType = managerType;
35      this.type = type;
36      this.provider = provider;
37    }
38  
39    /**
40     * @return Returns the password.
41     */
42    public String getPassword() {
43      return password;
44    }
45  
46    /**
47     * @return Returns the managerType.
48     */
49    public String getManagerType() {
50      return managerType;
51    }
52  
53    /**
54     * @return Returns the type.
55     */
56    public String getType() {
57      return type;
58    }
59  
60  
61    /**
62     * @return Return the provider.
63     */
64    public String getProvider() {
65      return provider;
66    }
67  
68  }