Class BaseEncoderDefinitionParserTest
- java.lang.Object
-
- org.opensaml.core.OpenSAMLInitBaseTestCase
-
- net.shibboleth.idp.attribute.resolver.spring.BaseAttributeDefinitionParserTest
-
- net.shibboleth.idp.attribute.resolver.spring.BaseEncoderDefinitionParserTest
-
- Direct Known Subclasses:
SAML1Base64AttributeEncoderParserTest,SAML1ScopedStringAttributeEncoderParserTest,SAML1StringAttributeEncoderParserTest,SAML1XMLObjectAttributeEncoderParserTest,SAML2Base64AttributeEncoderParserTest,SAML2ScopedStringAttributeEncoderParserTest,SAML2StringAttributeEncoderParserTest,SAML2XMLObjectAttributeEncoderParserTest
public abstract class BaseEncoderDefinitionParserTest extends BaseAttributeDefinitionParserTest
Base class for testing Attribute Encoding Parsers.
-
-
Field Summary
-
Fields inherited from class net.shibboleth.idp.attribute.resolver.spring.BaseAttributeDefinitionParserTest
ATTRIBUTE_FILE_PATH, BEAN_FILE_PATH, DATACONNECTOR_FILE_PATH, ENCODER_FILE_PATH, pendingTeardownContext, PRINCIPALCONNECTOR_FILE_PATH
-
-
Constructor Summary
Constructors Constructor Description BaseEncoderDefinitionParserTest()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static voidcheckEncodeType(Map<String,Object> rule, String propName, boolean expectedValue)protected net.shibboleth.idp.attribute.transcoding.TranscodingRulegetAttributeTranscoderRule(String fileName)protected net.shibboleth.idp.attribute.transcoding.TranscodingRulegetAttributeTranscoderRule(String fileName, boolean activation, Boolean encodeType)private net.shibboleth.idp.attribute.transcoding.TranscodingRulegetAttributeTranscoderRule(String fileName, String activationValue, String encodeType)protected net.shibboleth.idp.attribute.transcoding.TranscodingRulegetAttributeTranscoderRule(String fileName, GenericApplicationContext context)private voidtestWithProperties(boolean activation)protected abstract voidtestWithProperties(boolean activation, Boolean encodeType)voidvalues()-
Methods inherited from class net.shibboleth.idp.attribute.resolver.spring.BaseAttributeDefinitionParserTest
getAttributeDefn, getAttributeDefn, getAttributeDefn, getAttributeDefn, getBean, getBean, getDataConnector, getResolver, loadFile, setTestContext, tearDownTestContext
-
-
-
-
Method Detail
-
getAttributeTranscoderRule
protected net.shibboleth.idp.attribute.transcoding.TranscodingRule getAttributeTranscoderRule(String fileName)
-
getAttributeTranscoderRule
protected net.shibboleth.idp.attribute.transcoding.TranscodingRule getAttributeTranscoderRule(String fileName, boolean activation, Boolean encodeType)
-
getAttributeTranscoderRule
private net.shibboleth.idp.attribute.transcoding.TranscodingRule getAttributeTranscoderRule(String fileName, String activationValue, String encodeType)
-
getAttributeTranscoderRule
protected net.shibboleth.idp.attribute.transcoding.TranscodingRule getAttributeTranscoderRule(String fileName, GenericApplicationContext context)
-
checkEncodeType
protected static void checkEncodeType(Map<String,Object> rule, String propName, boolean expectedValue)
-
testWithProperties
protected abstract void testWithProperties(boolean activation, Boolean encodeType)
-
values
public void values()
-
testWithProperties
private void testWithProperties(boolean activation)
-
-