Class OIDCStringAttributeTranscoderTest
- java.lang.Object
-
- net.shibboleth.oidc.attribute.transcoding.impl.OIDCStringAttributeTranscoderTest
-
public class OIDCStringAttributeTranscoderTest extends Object
-
-
Field Summary
Fields Modifier and Type Field Description private static StringATTR_IDprivate static StringATTR_NAMEprivate net.shibboleth.idp.attribute.transcoding.impl.AttributeTranscoderRegistryImplregistryprivate Map<String,Object>rulesetprivate static StringSTRING_1private static StringSTRING_2
-
Constructor Summary
Constructors Constructor Description OIDCStringAttributeTranscoderTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidsetUp()voidtearDown()voidtestDecodingBoolean()voidtestDecodingBoolean_NotSupported()voidtestDecodingComplexArray()voidtestDecodingComplexArray_NumberNotSupported()voidtestDecodingDouble()voidtestDecodingInteger()voidtestDecodingInteger_NotSupported()voidtestDecodingJSONObject()voidtestDecodingJSONObjectDisabledByRule()voidtestDecodingNoValues()voidtestDecodingString()voidtestDecodingStringArray()voidtestDecodingStringArrayAsString()voidtestDecodingWrongType()voidtestDecodingWrongType_ClaimsRequest()voidtestEncodingBoolean()voidtestEncodingInteger()voidtestEncodingJSONObject()voidtestEncodingString()voidtestEncodingStringArray()voidtestEncodingWrongType()voidtestNoValues()
-
-
-
Field Detail
-
registry
private net.shibboleth.idp.attribute.transcoding.impl.AttributeTranscoderRegistryImpl registry
-
ATTR_ID
private static final String ATTR_ID
- See Also:
- Constant Field Values
-
ATTR_NAME
private static final String ATTR_NAME
- See Also:
- Constant Field Values
-
STRING_1
private static final String STRING_1
- See Also:
- Constant Field Values
-
STRING_2
private static final String STRING_2
- See Also:
- Constant Field Values
-
-
Method Detail
-
tearDown
@AfterMethod public void tearDown()
-
testNoValues
public void testNoValues() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testEncodingString
public void testEncodingString() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testEncodingStringArray
public void testEncodingStringArray() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testEncodingInteger
public void testEncodingInteger() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testEncodingBoolean
public void testEncodingBoolean() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testEncodingJSONObject
public void testEncodingJSONObject() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testEncodingWrongType
public void testEncodingWrongType() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeEncodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeEncodingException
-
testDecodingString
public void testDecodingString() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingNoValues
public void testDecodingNoValues() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingWrongType_ClaimsRequest
public void testDecodingWrongType_ClaimsRequest() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingStringArray
public void testDecodingStringArray() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingStringArrayAsString
public void testDecodingStringArrayAsString() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingComplexArray
public void testDecodingComplexArray() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingComplexArray_NumberNotSupported
public void testDecodingComplexArray_NumberNotSupported() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingInteger
public void testDecodingInteger() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingInteger_NotSupported
public void testDecodingInteger_NotSupported() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingDouble
public void testDecodingDouble() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingBoolean
public void testDecodingBoolean() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingBoolean_NotSupported
public void testDecodingBoolean_NotSupported() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingJSONObject
public void testDecodingJSONObject() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingJSONObjectDisabledByRule
public void testDecodingJSONObjectDisabledByRule() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
testDecodingWrongType
public void testDecodingWrongType() throws ComponentInitializationException, net.shibboleth.idp.attribute.AttributeDecodingException- Throws:
ComponentInitializationExceptionnet.shibboleth.idp.attribute.AttributeDecodingException
-
-