| .. | .. |
|---|
| 13 | 13 | import net.curisit.integrity.commons.Utils; |
|---|
| 14 | 14 | |
|---|
| 15 | 15 | import org.apache.commons.lang3.StringUtils; |
|---|
| 16 | | -import org.jboss.resteasy.util.Base64; |
|---|
| 17 | | -import org.apache.logging.log4j.Logger; |
|---|
| 18 | 16 | import org.apache.logging.log4j.LogManager; |
|---|
| 17 | +import org.apache.logging.log4j.Logger; |
|---|
| 18 | +import org.jboss.resteasy.util.Base64; |
|---|
| 19 | 19 | |
|---|
| 20 | 20 | @Singleton |
|---|
| 21 | 21 | public class TokenHelper { |
|---|
| .. | .. |
|---|
| 29 | 29 | public static final String TOKEN_HEADER_PÀRAM = "X-SECURIS-TOKEN"; |
|---|
| 30 | 30 | |
|---|
| 31 | 31 | @Inject |
|---|
| 32 | | - public TokenHelper() {} |
|---|
| 32 | + public TokenHelper() { |
|---|
| 33 | + } |
|---|
| 33 | 34 | |
|---|
| 34 | 35 | private static byte[] seed = "S3Cur15S33dForT0k3nG3n3r@tion".getBytes(); |
|---|
| 35 | 36 | |
|---|