cleanup default configuration
[java-idp.git] / resources / conf / attribute-resolver.xml
index 417438c..2d950eb 100644 (file)
                                       jdbcPassword="mypassword" />
         <QueryTemplate>
             <![CDATA[
-                 SELECT * FROM student WHERE gzbtpid = ${principal}
+                 SELECT * FROM student WHERE gzbtpid = $requestContext.principalName
              ]]>
         </QueryTemplate>
     
                             principalCredential="myServicePassword">
         <FilterTemplate>
             <![CDATA[
-                (uid=${principal})
+                (uid=$requestContext.principalName)
             ]]>
         </FilterTemplate>