Uses of Interface
net.webpdf.wsclient.session.auth.material.AuthMaterial
-
-
Uses of AuthMaterial in net.webpdf.wsclient.session
Methods in net.webpdf.wsclient.session that return AuthMaterial Modifier and Type Method Description @NotNull AuthMaterialAbstractSession. getAuthMaterial()ProvidesAuthMaterialfor the authorization of theSession´s requests, using theSession´sAuthProvider.@NotNull AuthMaterialSession. getAuthMaterial()ProvidesAuthMaterialfor the authorization of theSession´s requests, using theSession´sAuthProvider. -
Uses of AuthMaterial in net.webpdf.wsclient.session.auth
Methods in net.webpdf.wsclient.session.auth that return AuthMaterial Modifier and Type Method Description protected @NotNull AuthMaterialAbstractAuthenticationProvider. getAuthMaterial()Returns the currently usedAuthMaterial.@NotNull AuthMaterialAbstractAuthenticationProvider. getInitialAuthMaterial()Returns the initialAuthMaterialgiven to thisAuthProvider.@NotNull AuthMaterialAbstractAuthenticationProvider. provide(@NotNull Session session)ProvidesAuthMaterialfor the authorization of aSession.
Will attempt to produce aSessionTokenforRestSessions.
Will also refresh expiredSessionTokens.@NotNull AuthMaterialAuthProvider. provide(@NotNull Session session)Provides authorizationSessionTokenfor aSession.Methods in net.webpdf.wsclient.session.auth with parameters of type AuthMaterial Modifier and Type Method Description protected voidAbstractAuthenticationProvider. setAuthMaterial(@NotNull AuthMaterial authMaterial)Sets the usedAuthMaterial.Constructors in net.webpdf.wsclient.session.auth with parameters of type AuthMaterial Constructor Description AbstractAuthenticationProvider(@NotNull AuthMaterial authMaterial)Creates a fresh authentication provider, that shall initialize aSessionusing the givenAuthMaterial.
Be aware: possibly the givenAuthMaterialwill only be used during login and will be replaced with aSessionToken. -
Uses of AuthMaterial in net.webpdf.wsclient.session.auth.material
Classes in net.webpdf.wsclient.session.auth.material that implement AuthMaterial Modifier and Type Class Description classAnonymousMaterialAn instance ofAnonymousMaterialserves to establish an anonymousSessionvia theAnonymousAuthProvider.
None of the hereby implemented methods shall provide usable authentication or authorization material.classAuthenticationMaterialAn instance ofAuthenticationMaterialserves to establish a user basedSessionwith the webPDF server.
It shall both provideUsernamePasswordCredentialsfor a user, and a proper authorizationHeaderto communicate the authentication attempt to the server. -
Uses of AuthMaterial in net.webpdf.wsclient.session.auth.material.token
Subinterfaces of AuthMaterial in net.webpdf.wsclient.session.auth.material.token Modifier and Type Interface Description interfaceJWTTokenClasses in net.webpdf.wsclient.session.auth.material.token that implement AuthMaterial Modifier and Type Class Description classOAuth2TokenAn instance ofOAuth2Tokenwraps the access token of a webPDFSessionin an object.classSessionTokenAn instance ofSessionTokenwraps the access and refresh tokens provided by the webPDF server. -
Uses of AuthMaterial in net.webpdf.wsclient.session.connection.http
Methods in net.webpdf.wsclient.session.connection.http with parameters of type AuthMaterial Modifier and Type Method Description @NotNull HttpRestRequestHttpRestRequest. buildRequest(@NotNull HttpMethod httpMethod, @NotNull String path, @Nullable org.apache.hc.core5.http.HttpEntity httpEntity, @Nullable AuthMaterial authMaterial)Prepare theHttpRestRequestto execute the selectedHttpMethodon the given resource path (URI) and providing the givenHttpEntityas it´s data transfer object (parameters).@NotNull HttpRestRequestHttpRestRequest. buildRequest(@NotNull HttpMethod httpMethod, @NotNull URI uri, @Nullable org.apache.hc.core5.http.HttpEntity httpEntity, @Nullable AuthMaterial authMaterial)Prepare theHttpRestRequestto execute the selectedHttpMethodon the given (URI) and providing the givenHttpEntityas it´s data transfer object (parameters).
-