Skip to content

Conversation

@sophiejanssens
Copy link
Contributor

Boat bay is still in development

if (readTimeout == null){
BasicAuthRequestInterceptor basicAuthRequestInterceptor = new BasicAuthRequestInterceptor("admin","admin");
ApiClient apiClient = new ApiClient().setBasePath(clientBasePath);
// apiClient.addAuthorization("Basic",basicAuthRequestInterceptor);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is auth working now?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, by default some basic security is enabled by Jhipster. If you spin up boat-bay locally, in the mysql database in jhi_user, you would see 2 users - admin(ROLE_ADMIN) and user (ROLE_USER).
To create something, we need to pass as basic auth.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No security applied

@dhananjay12
Copy link
Contributor

New PR - #230

@santam85 santam85 deleted the feature/boat-bay-support branch July 6, 2022 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants