Class AnonymousAuthProvider
- java.lang.Object
-
- net.webpdf.wsclient.session.auth.AbstractAuthenticationProvider
-
- net.webpdf.wsclient.session.auth.AnonymousAuthProvider
-
- All Implemented Interfaces:
AuthProvider
public class AnonymousAuthProvider extends AbstractAuthenticationProvider
An instance of
AnonymousAuthProviderdemands the initialization of an anonymousSession.
Be aware: You should make sure, that your webPDF server allows anonymousSessions, otherwise you can not use theAnonymousAuthProvider.Be aware: Currently an
AnonymousAuthProvidershall only serve oneSessionat a time. AnAnonymousAuthProviderbeing called by anotherSessionthan it´s current master, shall assume it´s current master to have expired and shall, try to reauthorize that newSession(new master).
For that reason anAnonymousAuthProviders shall be reusable by subsequentSessions.Be aware: However - An implementation of
AuthProvideris not required to serve multipleSessions at a time. It is expected to create a newAuthProviderfor each existingSession.
-
-
Constructor Summary
Constructors Constructor Description AnonymousAuthProvider()Instantiates a newAnonymousAuthProviderto establish an anonymousSession.
Be aware: You should make sure, that your webPDF server allows anonymousSessions, otherwise you can not use theAnonymousAuthProvider.
-
Method Summary
-
Methods inherited from class net.webpdf.wsclient.session.auth.AbstractAuthenticationProvider
getAuthMaterial, getInitialAuthMaterial, getSession, login, provide, refresh, setAuthMaterial
-
-
-
-
Constructor Detail
-
AnonymousAuthProvider
public AnonymousAuthProvider()
Instantiates a new
AnonymousAuthProviderto establish an anonymousSession.
Be aware: You should make sure, that your webPDF server allows anonymousSessions, otherwise you can not use theAnonymousAuthProvider.Be aware: Currently an
AnonymousAuthProvidershall only serve oneSessionat a time. AnAnonymousAuthProviderbeing called by anotherSessionthan it´s current master, shall assume it´s current master to have expired and shall, try to reauthorize that newSession(new master).
For that reason anAnonymousAuthProviders shall be reusable by subsequentSessions.
-
-