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.persistence.api.entity.am;
20  
21  import java.util.List;
22  import java.util.Set;
23  import org.apache.syncope.common.lib.types.SAML2SPNameId;
24  import org.apache.syncope.common.lib.types.XmlSecAlgorithm;
25  
26  public interface SAML2SPClientApp extends ClientApp {
27  
28      String getEntityId();
29  
30      void setEntityId(String id);
31  
32      String getMetadataLocation();
33  
34      void setMetadataLocation(String location);
35  
36      void setMetadataSignatureLocation(String location);
37  
38      String getMetadataSignatureLocation();
39  
40      void setSignAssertions(boolean location);
41  
42      boolean isSignAssertions();
43  
44      void setSignResponses(boolean location);
45  
46      boolean isSignResponses();
47  
48      void setEncryptionOptional(boolean location);
49  
50      boolean isEncryptionOptional();
51  
52      void setEncryptAssertions(boolean location);
53  
54      boolean isEncryptAssertions();
55  
56      void setRequiredAuthenticationContextClass(String location);
57  
58      String getRequiredAuthenticationContextClass();
59  
60      void setRequiredNameIdFormat(SAML2SPNameId location);
61  
62      SAML2SPNameId getRequiredNameIdFormat();
63  
64      void setSkewAllowance(Integer location);
65  
66      Integer getSkewAllowance();
67  
68      void setNameIdQualifier(String location);
69  
70      String getNameIdQualifier();
71  
72      Set<String> getAssertionAudiences();
73  
74      void setServiceProviderNameIdQualifier(String location);
75  
76      String getServiceProviderNameIdQualifier();
77  
78      List<XmlSecAlgorithm> getSigningSignatureAlgorithms();
79  
80      List<XmlSecAlgorithm> getSigningSignatureReferenceDigestMethods();
81  
82      List<XmlSecAlgorithm> getEncryptionDataAlgorithms();
83  
84      List<XmlSecAlgorithm> getEncryptionKeyAlgorithms();
85  
86      List<XmlSecAlgorithm> getSigningSignatureBlackListedAlgorithms();
87  
88      List<XmlSecAlgorithm> getEncryptionBlackListedAlgorithms();
89  }