Package net.shibboleth.idp.authn.impl
Class DefaultAuthenticationResultSerializerTest
- java.lang.Object
-
- net.shibboleth.idp.authn.impl.DefaultAuthenticationResultSerializerTest
-
public class DefaultAuthenticationResultSerializerTest extends Object
DefaultAuthenticationResultSerializerunit test.
-
-
Constructor Summary
Constructors Constructor Description DefaultAuthenticationResultSerializerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private net.shibboleth.idp.authn.AuthenticationResultcreateResult(String flowId, Subject subject)private StringfileToString(String pathname)voidsetUp()voidtestComplex()voidtestCreds()voidtestIdPAttribute()voidtestInvalid()voidtestLdap()voidtestNestedAuthenticationResult()voidtestProxyAuthentication()voidtestSimple()voidtestSymbolic()
-
-
-
Field Detail
-
DATAPATH
private static final String DATAPATH
- See Also:
- Constant Field Values
-
CONTEXT
private static final String CONTEXT
- See Also:
- Constant Field Values
-
KEY
private static final String KEY
- See Also:
- Constant Field Values
-
INSTANT
private static final Instant INSTANT
-
ACTIVITY
private static final long ACTIVITY
- See Also:
- Constant Field Values
-
serializer
private net.shibboleth.idp.authn.impl.DefaultAuthenticationResultSerializer serializer
-
-
Method Detail
-
setUp
@BeforeMethod public void setUp()
-
testNestedAuthenticationResult
public void testNestedAuthenticationResult() throws Exception- Throws:
Exception
-
createResult
private net.shibboleth.idp.authn.AuthenticationResult createResult(String flowId, Subject subject)
-
fileToString
private String fileToString(String pathname) throws URISyntaxException, IOException
- Throws:
URISyntaxExceptionIOException
-
-