Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | package org.apereo.cas.consent; |
||
11 | public class AttributeReleaseConsentCipherExecutor extends BaseStringCipherExecutor { |
||
12 | |||
13 | public AttributeReleaseConsentCipherExecutor(final String secretKeyEncryption, |
||
14 | final String secretKeySigning, |
||
15 | final String alg) { |
||
16 | super(secretKeyEncryption, secretKeySigning, alg); |
||
17 | } |
||
18 | |||
19 | @Override |
||
20 | protected String getEncryptionKeySetting() { |
||
21 | return "cas.consent.crypto.encryption.key"; |
||
22 | } |
||
23 | |||
24 | @Override |
||
25 | protected String getSigningKeySetting() { |
||
26 | return "cas.consent.crypto.signing.key"; |
||
27 | } |
||
28 | |||
29 | @Override |
||
30 | public String getName() { |
||
31 | return "Attribute Consent"; |
||
32 | } |
||
34 |