All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blade.oauth2.issuer.UUIDValueGenerator Maven / Gradle / Ivy

There is a newer version: 1.0.2
Show newest version
/**
 * 
 */

package com.blade.oauth2.issuer;

import java.util.UUID;

/**
 * 
 * @author BruceZCQ [[email protected]]
 * @version
 */
public class UUIDValueGenerator extends ValueGenerator {

    @Override
    public String generateValue(String param) {
        return UUID.fromString(UUID.nameUUIDFromBytes(param.getBytes()).toString()).toString();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy