Class JWKSecurityContext

  • All Implemented Interfaces:
    SecurityContext

    public class JWKSecurityContext
    extends java.lang.Object
    implements SecurityContext
    A security context that contains JSON Web Keys (JWK). Typically, this would be used when the keys are evaluated outside of token validation.
    Version:
    2019-01-10
    Author:
    Rob Winch, Josh Cummings
    • Constructor Summary

      Constructors 
      Constructor Description
      JWKSecurityContext​(java.util.List<JWK> keys)
      Constructs a JWKSecurityContext with the provided parameters.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<JWK> getKeys()
      Gets the list of JWKs.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JWKSecurityContext

        public JWKSecurityContext​(java.util.List<JWK> keys)
        Constructs a JWKSecurityContext with the provided parameters.
        Parameters:
        keys - The list of keys.
    • Method Detail

      • getKeys

        public java.util.List<JWK> getKeys()
        Gets the list of JWKs.
        Returns:
        The JWK list.