@Deprecated public class RandomValueVerifierServices extends Object implements OAuthVerifierServices, InitializingBean
Constructor and Description |
---|
RandomValueVerifierServices()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
String |
createVerifier()
Deprecated.
Create a verifier.
|
Random |
getRandom()
Deprecated.
The random value generator used to create token secrets.
|
int |
getVerifierLengthBytes()
Deprecated.
The verifier length in bytes, before being encoded to a string.
|
protected String |
getVerifierString(byte[] verifierBytes)
Deprecated.
Convert these random bytes to a verifier string.
|
void |
setRandom(Random random)
Deprecated.
The random value generator used to create token secrets.
|
void |
setVerifierLengthBytes(int verifierLengthBytes)
Deprecated.
The verifier length in bytes, before being encoded to a string.
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public String createVerifier()
OAuthVerifierServices
createVerifier
in interface OAuthVerifierServices
protected String getVerifierString(byte[] verifierBytes)
configured
. Default implementation
mods the bytes to fit into the ASCII letters 1-9, A-Z, a-z .verifierBytes
- The bytes.public Random getRandom()
public void setRandom(Random random)
random
- The random value generator used to create token secrets.public int getVerifierLengthBytes()
public void setVerifierLengthBytes(int verifierLengthBytes)
verifierLengthBytes
- The verifier length in bytes, before being encoded to a string.Copyright © 2019. All rights reserved.