public abstract class SecurityUtility extends Object
| Constructor and Description |
|---|
SecurityUtility() |
| Modifier and Type | Method and Description |
|---|---|
protected static org.springframework.security.core.Authentication |
getAuthentication() |
static me.parakh.core.security.jwt.JwtClaimEdge |
getClaim() |
static me.parakh.core.dto.common.UserDto |
getUser() |
static String |
getUsername() |
static String |
randomPassword()
RandomStringUtils.random(64); //random(count, false, false)
RandomStringUtils.randomAlphanumeric(64);//random(count, true, true);
RandomStringUtils.randomNumeric(64);//random(count, false, true)
RandomStringUtils.randomAlphabetic(64); //random(count, true, false)
RandomStringUtils.randomAscii(32);
RandomStringUtils.random(32, 0, 20, true, true, "qw32rfHIJk9iQ8Ud7h0X".toCharArray());
|
public static final me.parakh.core.dto.common.UserDto getUser()
public static final String getUsername()
public static final me.parakh.core.security.jwt.JwtClaimEdge getClaim()
public static String randomPassword()
protected static final org.springframework.security.core.Authentication getAuthentication()
Copyright © 2016. All rights reserved.