Class Stores


  • public class Stores
    extends Object
    Provide Secured Store for Consumer or Friend. Those stores encrypt/decipher the consumer secret of Consumer and Friend.
    Since:
    1.11.0
    • Method Detail

      • secure

        public static org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore secure​(org.eclipse.lyo.server.oauth.core.consumer.ConsumerStore store,
                                                                                      String key)
        Returns a ConsumerStore which ciphers/deciphers the consumer secret of its Consumers.
        Parameters:
        store - an implementation of ConsumerStore for delegation using
        key - the encryption key
        Returns:
        a SecuredConsumerStore
      • secure

        public static FriendStore secure​(FriendStore store,
                                         String key)
        Returns a FriendStore which ciphers/deciphers the consumer secret of its Friends
        Parameters:
        store - an implementation of FriendStore for delegation using
        key - the encryption key
        Returns:
        a SecuredFriendStore