File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
openid-connect-common/src/main/java/org/mitre/jwt/assertion/impl
openid-connect-server-webapp/src/main/webapp/WEB-INF Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 22
22
import com .nimbusds .jwt .JWT ;
23
23
24
24
/**
25
+ * Reject all assertions passed in.
26
+ *
25
27
* @author jricher
26
28
*
27
29
*/
28
30
public class NullAssertionValidator implements AssertionValidator {
29
31
32
+ /**
33
+ * Reject all assertions passed in, always returns false.
34
+ */
30
35
@ Override
31
36
public boolean isValid (JWT assertion ) {
32
- // TODO Auto-generated method stub
33
37
return false ;
34
38
35
39
}
Original file line number Diff line number Diff line change 31
31
32
32
33
33
<!-- validate client software statements for dynamic registration -->
34
- <bean id =" clientAssertionValidator" class =" org.mitre.jwt.assertion.impl.WhitelistedIssuerAssertionValidator" >
35
- <property name =" whitelist" >
36
- <map >
37
- <entry key =" http://artemesia.local" value =" http://localhost:8080/openid-connect-server-webapp/jwk" />
38
- </map >
39
- </property >
40
- </bean >
34
+ <bean id =" clientAssertionValidator" class =" org.mitre.jwt.assertion.impl.NullAssertionValidator" />
35
+
36
+ <!-- this class will pass assertions signed by the issuers and keys in the whitelist -->
37
+ <!-- <bean id="clientAssertionValidator" class="org.mitre.jwt.assertion.impl.WhitelistedIssuerAssertionValidator"> -->
38
+ <!-- <property name="whitelist"> -->
39
+ <!-- <map> -->
40
+ <!-- <entry key="http://artemesia.local" value="http://localhost:8080/openid-connect-server-webapp/jwk" /> -->
41
+ <!-- </map> -->
42
+ <!-- </property> -->
43
+ <!-- </bean> -->
41
44
42
45
43
46
</beans >
You can’t perform that action at this time.
0 commit comments