|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.security.oauth.provider.verifier.RandomValueVerifierServices
public class RandomValueVerifierServices
Basic implementation of the verifier services that creates a random-value verifier and stores it in an in-memory map.
| Constructor Summary | |
|---|---|
RandomValueVerifierServices()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
String |
createVerifier()
Create a verifier. |
Random |
getRandom()
The random value generator used to create token secrets. |
int |
getVerifierLengthBytes()
The verifier length in bytes, before being encoded to a string. |
protected String |
getVerifierString(byte[] verifierBytes)
Convert these random bytes to a verifier string. |
void |
setRandom(Random random)
The random value generator used to create token secrets. |
void |
setVerifierLengthBytes(int verifierLengthBytes)
The verifier length in bytes, before being encoded to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RandomValueVerifierServices()
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic String createVerifier()
OAuthVerifierServices
createVerifier in interface OAuthVerifierServicesprotected 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||