Class DynamicPropertyPublicKey

java.lang.Object
com.broadleafcommerce.auth.user.autoconfigure.support.keys.AbstractDynamicPropertyKey<RSAPublicKey>
com.broadleafcommerce.auth.user.autoconfigure.support.keys.DynamicPropertyPublicKey
All Implemented Interfaces:
Serializable, RSAKey, RSAPublicKey, Key, PublicKey

public class DynamicPropertyPublicKey extends AbstractDynamicPropertyKey<RSAPublicKey> implements RSAPublicKey
This is a special 'smart key' bean that will always present the latest public key for AuthenticationServices based on AuthorizationServerProperties.OAuth2.getEncodedPublicKey(). The only exception is when this key is used multiple times in a request lifecycle - in that case, the 'latest' value is computed in the first use of this key, and then that value is used for the remainder of that request's lifecycle.
See Also: