Added default constructor to ConnectAuthorizationRequestManager
parent
af81e371fb
commit
a1a117cfde
|
@ -34,11 +34,24 @@ public class ConnectAuthorizationRequestManager implements AuthorizationRequestM
|
||||||
//TODO how to specify this? Should use int "nonceValiditySeconds" instead?
|
//TODO how to specify this? Should use int "nonceValiditySeconds" instead?
|
||||||
private Period nonceStorageDuration = new Period(1, 0, 0, 0, 0, 0, 0, 0);
|
private Period nonceStorageDuration = new Period(1, 0, 0, 0, 0, 0, 0, 0);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constructor with arguments
|
||||||
|
*
|
||||||
|
* @param clientDetailsService
|
||||||
|
* @param nonceService
|
||||||
|
*/
|
||||||
public ConnectAuthorizationRequestManager(ClientDetailsService clientDetailsService, NonceService nonceService) {
|
public ConnectAuthorizationRequestManager(ClientDetailsService clientDetailsService, NonceService nonceService) {
|
||||||
this.clientDetailsService = clientDetailsService;
|
this.clientDetailsService = clientDetailsService;
|
||||||
this.nonceService = nonceService;
|
this.nonceService = nonceService;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Default empty constructor
|
||||||
|
*/
|
||||||
|
public ConnectAuthorizationRequestManager() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public AuthorizationRequest createAuthorizationRequest(Map<String, String> parameters) {
|
public AuthorizationRequest createAuthorizationRequest(Map<String, String> parameters) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue