wiki:Software/Configuration/GraphTemplatesShibIdpSamlUsage

Version 3 (modified by smith@…, 6 years ago) (diff)

--

Graph Templates - Shib IdP: SAML1 vs SAML2

<bean id="shibidp_saml1_vs_saml2" class="uk.ac.cardiff.raptormua.engine.statistics.functions.CountEntryPerInterval">
    <property name="StatisticParameters">
        <bean class="uk.ac.cardiff.model.wsmodel.StatisticParameters">
            <property name="statisticType"><value>User</value></property>
            <property name="eventType"><value>uk.ac.cardiff.model.event.ShibbolethIdpAuthenticationEvent</value></property>
            <property name="unitName"><value>Shib IdP: SAML1 vs SAML2</value></property>
            <property name="startTime"><value>20130101T000000</value></property>   <!-- presently only ddMMyyy or yyyyMMdd'T'HHmmss -->
            <property name="endTime"><value>20140101T000000</value></property>  <!-- presently only ddMMyyy or yyyyMMdd'T'HHmmss e.g. 20101020T225100Z -->
            <property name="methodParams">
                <list>
                    <bean class="uk.ac.cardiff.model.wsmodel.MethodParameter">
                        <property name="value"><value>10080</value></property>
                    </bean>
                </list>
            </property>
            
            <property name="series">
                <list>
                    <bean class="uk.ac.cardiff.model.report.Series">
                        <property name="seriesLabel" value="SAML1"/>
                        <property name="comparisonPredicate">
                            <bean class="uk.ac.cardiff.model.sql.ComparisonPredicate">
                                <property name="compOp" value="EQUAL"/>
                                <property name="fieldName" value="messageProfileId"/>
                                <property name="value" value="urn:mace:shibboleth:2.0:profiles:saml1:sso"/>
                            </bean>
                        </property>
                    </bean>
                    <bean class="uk.ac.cardiff.model.report.Series">
                        <property name="seriesLabel" value="SAML2"/>
                        <property name="comparisonPredicate">
                            <bean class="uk.ac.cardiff.model.sql.ComparisonPredicate">
                                <property name="compOp" value="EQUAL"/>
                                <property name="fieldName" value="messageProfileId"/>
                                <property name="value" value="urn:mace:shibboleth:2.0:profiles:saml2:sso"/>
                            </bean>
                        </property>
                    </bean>
                </list>
            </property>
            
            <property name="presentation">
                <bean class="uk.ac.cardiff.model.report.Presentation">
                    <property name="graphTitle" value="Shib IdP: SAML1 vs SAML2"/>
                    <property name="xAxisLabel" value="Type"/>
                    <property name="yAxisLabel" value="Number"/>
                </bean>
            </property>
        </bean>
    </property>
</bean>