Package eu.clarin.sru.client.auth
Class ClarinFCSRequestAuthenticator.Builder
- java.lang.Object
-
- eu.clarin.sru.client.auth.ClarinFCSRequestAuthenticator.Builder
-
- Enclosing class:
- ClarinFCSRequestAuthenticator
public static class ClarinFCSRequestAuthenticator.Builder extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ClarinFCSRequestAuthenticator
build()
static ClarinFCSRequestAuthenticator.Builder
create()
ClarinFCSRequestAuthenticator.Builder
withAuthenticationInfoProvider(ClarinFCSRequestAuthenticator.AuthenticationInfoProvider provider)
ClarinFCSRequestAuthenticator.Builder
withExpireTokens(long expireTokenTime)
ClarinFCSRequestAuthenticator.Builder
withIssuer(String issuer)
ClarinFCSRequestAuthenticator.Builder
withKeyPair(File publicKeyFile, File privateKeyFile)
ClarinFCSRequestAuthenticator.Builder
withKeyPair(String publicKeyFileName, String privateKeyFileName)
ClarinFCSRequestAuthenticator.Builder
withKeyPairStrings(String publicKeyContent, String privateKeyContent)
ClarinFCSRequestAuthenticator.Builder
withNotBefore(boolean withNotBefore)
ClarinFCSRequestAuthenticator.Builder
withTokenIds(boolean withTokenIds)
-
-
-
Method Detail
-
withIssuer
public ClarinFCSRequestAuthenticator.Builder withIssuer(String issuer)
-
withAuthenticationInfoProvider
public ClarinFCSRequestAuthenticator.Builder withAuthenticationInfoProvider(ClarinFCSRequestAuthenticator.AuthenticationInfoProvider provider)
-
withTokenIds
public ClarinFCSRequestAuthenticator.Builder withTokenIds(boolean withTokenIds)
-
withNotBefore
public ClarinFCSRequestAuthenticator.Builder withNotBefore(boolean withNotBefore)
-
withExpireTokens
public ClarinFCSRequestAuthenticator.Builder withExpireTokens(long expireTokenTime)
-
withKeyPair
public ClarinFCSRequestAuthenticator.Builder withKeyPair(String publicKeyFileName, String privateKeyFileName)
-
withKeyPair
public ClarinFCSRequestAuthenticator.Builder withKeyPair(File publicKeyFile, File privateKeyFile)
-
withKeyPairStrings
public ClarinFCSRequestAuthenticator.Builder withKeyPairStrings(String publicKeyContent, String privateKeyContent)
-
build
public ClarinFCSRequestAuthenticator build()
-
create
public static ClarinFCSRequestAuthenticator.Builder create()
-
-