Package net.shibboleth.idp.cas.flow.impl
Class AbstractFlowActionTest.MockDataSealerKeyStrategy
- java.lang.Object
-
- net.shibboleth.idp.cas.flow.impl.AbstractFlowActionTest.MockDataSealerKeyStrategy
-
- All Implemented Interfaces:
DataSealerKeyStrategy
- Enclosing class:
- AbstractFlowActionTest
public static class AbstractFlowActionTest.MockDataSealerKeyStrategy extends Object implements DataSealerKeyStrategy
Test implementation ofDataSealerKeyStrategythat emits a static key for all inquiries.
-
-
Constructor Summary
Constructors Constructor Description MockDataSealerKeyStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<String,SecretKey>getDefaultKey()SecretKeygetKey(String s)
-
-
-
Field Detail
-
key
private final SecretKey key
Static key.
-
-
Method Detail
-
getDefaultKey
public Pair<String,SecretKey> getDefaultKey() throws KeyException
- Specified by:
getDefaultKeyin interfaceDataSealerKeyStrategy- Throws:
KeyException
-
getKey
public SecretKey getKey(String s) throws KeyException
- Specified by:
getKeyin interfaceDataSealerKeyStrategy- Throws:
KeyException
-
-