View Javadoc
1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one
3    * or more contributor license agreements.  See the NOTICE file
4    * distributed with this work for additional information
5    * regarding copyright ownership.  The ASF licenses this file
6    * to you under the Apache License, Version 2.0 (the
7    * "License"); you may not use this file except in compliance
8    * with the License.  You may obtain a copy of the License at
9    *
10   *   http://www.apache.org/licenses/LICENSE-2.0
11   *
12   * Unless required by applicable law or agreed to in writing,
13   * software distributed under the License is distributed on an
14   * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15   * KIND, either express or implied.  See the License for the
16   * specific language governing permissions and limitations
17   * under the License.
18   */
19  package org.apache.syncope.core.logic;
20  
21  import org.springframework.boot.context.properties.ConfigurationProperties;
22  
23  @ConfigurationProperties("saml2.sp4ui")
24  public class SAML2SP4UIProperties {
25  
26      private String keystore;
27  
28      private String keystoreType;
29  
30      private String keystoreStorepass;
31  
32      private String keystoreKeypass;
33  
34      private String keystoreAlias;
35  
36      private long maximumAuthenticationLifetime = 3600;
37  
38      private long acceptedSkew = 300;
39  
40      public String getKeystore() {
41          return keystore;
42      }
43  
44      public void setKeystore(final String keystore) {
45          this.keystore = keystore;
46      }
47  
48      public String getKeystoreType() {
49          return keystoreType;
50      }
51  
52      public void setKeystoreType(final String keystoreType) {
53          this.keystoreType = keystoreType;
54      }
55  
56      public String getKeystoreStorepass() {
57          return keystoreStorepass;
58      }
59  
60      public void setKeystoreStorepass(final String keystoreStorepass) {
61          this.keystoreStorepass = keystoreStorepass;
62      }
63  
64      public String getKeystoreKeypass() {
65          return keystoreKeypass;
66      }
67  
68      public void setKeystoreKeypass(final String keystoreKeypass) {
69          this.keystoreKeypass = keystoreKeypass;
70      }
71  
72      public String getKeystoreAlias() {
73          return keystoreAlias;
74      }
75  
76      public void setKeystoreAlias(final String keystoreAlias) {
77          this.keystoreAlias = keystoreAlias;
78      }
79  
80      public long getMaximumAuthenticationLifetime() {
81          return maximumAuthenticationLifetime;
82      }
83  
84      public void setMaximumAuthenticationLifetime(final long maximumAuthenticationLifetime) {
85          this.maximumAuthenticationLifetime = maximumAuthenticationLifetime;
86      }
87  
88      public long getAcceptedSkew() {
89          return acceptedSkew;
90      }
91  
92      public void setAcceptedSkew(final long acceptedSkew) {
93          this.acceptedSkew = acceptedSkew;
94      }
95  }