Uses of Interface
net.webpdf.wsclient.session.auth.AuthProvider
-
Packages that use AuthProvider Package Description net.webpdf.wsclient.session net.webpdf.wsclient.session.auth net.webpdf.wsclient.session.rest net.webpdf.wsclient.session.soap -
-
Uses of AuthProvider in net.webpdf.wsclient.session
Methods in net.webpdf.wsclient.session that return AuthProvider Modifier and Type Method Description @NotNull AuthProviderAbstractSession. getAuthProvider()Provides theAuthProviderfor the authorization of theSession´s requests.@NotNull AuthProviderSession. getAuthProvider()Provides theAuthProviderfor the authorization of theSession´s requests.Methods in net.webpdf.wsclient.session with parameters of type AuthProvider Modifier and Type Method Description static <T_SESSION extends Session>
T_SESSIONSessionFactory. createInstance(@NotNull SessionContext sessionContext, @NotNull AuthProvider authProvider)Creates a HTTP or HTTPSSessionwith a webPDF server, based on the givenSessionContextandAuthProvider.Constructors in net.webpdf.wsclient.session with parameters of type AuthProvider Constructor Description AbstractSession(@NotNull WebServiceProtocol webServiceProtocol, @NotNull SessionContext serverContext, @NotNull AuthProvider authProvider)Creates a newAbstractRestSessioninstance providing connection information and authorization objects for a webPDF server-clientSession. -
Uses of AuthProvider in net.webpdf.wsclient.session.auth
Subinterfaces of AuthProvider in net.webpdf.wsclient.session.auth Modifier and Type Interface Description interfaceOAuth2ProviderA class implementingOAuth2Providershall implement aOAuth2Provider.provide(Session)method to determine aOAuth2Tokenfor the authorization of aSession.
This interface is directly intended to enable you, to implement your own custom authorization provider - refer to the wiki for examples.Classes in net.webpdf.wsclient.session.auth that implement AuthProvider Modifier and Type Class Description classAbstractAuthenticationProviderA class extendingAbstractAuthenticationProvidershall provide the means to use the webPDF server´s login endpoint to authenticate a user.classAnonymousAuthProviderAn instance ofAnonymousAuthProviderdemands the initialization of an anonymousSession.
Be aware: You should make sure, that your webPDF server allows anonymousSessions, otherwise you can not use theAnonymousAuthProvider.classUserAuthProviderAn instance ofUserAuthProvidershall provideUsernamePasswordCredentialsfor the authentication of a webPDF user. -
Uses of AuthProvider in net.webpdf.wsclient.session.rest
Constructors in net.webpdf.wsclient.session.rest with parameters of type AuthProvider Constructor Description AbstractRestSession(@NotNull SessionContext serverContext, @NotNull AuthProvider authProvider)Creates a newAbstractRestSessioninstance providing connection information, authorization objects and aDocumentManagerfor a webPDF server-clientRestSession.RestWebServiceSession(@NotNull SessionContext serverContext, @NotNull AuthProvider authProvider)Creates a newRestWebServiceSessioninstance providing connection information, authorization objects and aRestWebServiceDocumentManagerfor a webPDF server-clientRestSession. -
Uses of AuthProvider in net.webpdf.wsclient.session.soap
Constructors in net.webpdf.wsclient.session.soap with parameters of type AuthProvider Constructor Description AbstractSoapSession(@NotNull SessionContext serverContext, @NotNull AuthProvider authProvider)Creates a newAbstractSoapSessioninstance providing connection information and authorization objects for a webPDF server-clientSoapSession.SoapWebServiceSession(@NotNull SessionContext serverContext, @NotNull AuthProvider authProvider)Creates a newSoapWebServiceSessioninstance providing connection information, authorization objects for a webPDF server-clientSoapSession.
-