Class ScriptedKeyStrategyTest
- java.lang.Object
-
- net.shibboleth.utilities.java.support.security.impl.ScriptedKeyStrategyTest
-
public class ScriptedKeyStrategyTest extends Object
Test forScriptedKeyStrategy.
-
-
Field Summary
Fields Modifier and Type Field Description private Map<String,Object>customMapprivate KeyGeneratorkeyGenerator(package private) StringscriptPathprivate ScriptedKeyStrategystrategy
-
Constructor Summary
Constructors Constructor Description ScriptedKeyStrategyTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetUp()voidtestNoScript()voidtestScriptedKeystoreKeyStrategy()voidtestScriptFailure()
-
-
-
Field Detail
-
scriptPath
final String scriptPath
- See Also:
- Constant Field Values
-
keyGenerator
private KeyGenerator keyGenerator
-
strategy
private ScriptedKeyStrategy strategy
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp() throws ComponentInitializationException, NoSuchAlgorithmException, ScriptException
-
testNoScript
public void testNoScript() throws ComponentInitializationException- Throws:
ComponentInitializationException
-
testScriptFailure
public void testScriptFailure() throws ComponentInitializationException, ScriptException
-
-