...
Section | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
...
If you do not require access control or authentication for other purposes, i.e. your forms are public forms on your Extranet, you can simply use builtfrevvo built-in Share Dialog and copy and paste the code into your HTML, JSP, ASP, PHP or other web page. An example is frevvo's own contact form. No authentication is required and the form is completed and submitted anonymously. You can find instructions for embedding forms and workflows here.
...
The examples below use the API to authenticate to frevvo. Before using the API, you will need to install the client libraries for your language. frevvo offers Java and .NET client libraries. The examples below use the Java client libraries; the .NET versions are very similar. See these instructions for Installing the Client Library and Dependencies.
...
In order to automatically integrate with frevvo, your web application will first need to establish a session using the APIfrevvo API. This is done by using the com.frevvo.forms.client.FormsService class and by providing proper credentials to authenticate.
...
Auto-create users in a tenant
can frevvo can also automatically create users in your tenant if you created it with the Delegating Security Manager.
...
This will log you in as the specified userId. If a user with that ID does not exist, the user will be automatically created. The user will have any existing roles as well as the role "manager". If you do not want to specify any roles, you may pass in null. Of course, you can pass in a List with as many roles as you want.
If you want to frevvo to auto create a new user that can design forms, you need to pass in the frevvo.Designer role when calling loginAs(). This is typically not required unless you are an OEM customer embedding the frevvo Designer in your product. For instance:
...