@Test public void isRedirectUriUnsecuredHttpSchemeAllowed() { Domain domain = new Domain(); domain.setOidc(OIDCSettings.defaultSettings()); boolean isEnabled = domain.isRedirectUriUnsecuredHttpSchemeAllowed(); assertFalse("By default dcr settings should be disabled",isEnabled); }
public boolean isRedirectUriUnsecuredHttpSchemeAllowed() { return this.getOidc()!=null && this.getOidc().getClientRegistrationSettings()!=null && this.getOidc().getClientRegistrationSettings().isAllowHttpSchemeRedirectUri(); }
Domain implements Resource { public boolean isRedirectUriUnsecuredHttpSchemeAllowed() { return this.getOidc()!=null && this.getOidc().getClientRegistrationSettings()!=null && this.getOidc().getClientRegistrationSettings().isAllowHttpSchemeRedirectUri(); } }
Domain implements Resource { public boolean isRedirectUriUnsecuredHttpSchemeAllowed() { return this.getOidc()!=null && this.getOidc().getClientRegistrationSettings()!=null && this.getOidc().getClientRegistrationSettings().isAllowHttpSchemeRedirectUri(); } Domain();  Domain(Domain other); }
Domain implements Resource { public boolean isRedirectUriUnsecuredHttpSchemeAllowed() { return this.getOidc()!=null && this.getOidc().getClientRegistrationSettings()!=null && this.getOidc().getClientRegistrationSettings().isAllowHttpSchemeRedirectUri(); } Domain();  Domain(Domain other); String getId(); void setId(String id); String getName(); void setName(String name); String getDescription(); void setDescription(String description); boolean isEnabled(); void setEnabled(boolean enabled); Date getCreatedAt(); void setCreatedAt(Date createdAt); Date getUpdatedAt(); void setUpdatedAt(Date updatedAt); String getPath(); void setPath(String path); boolean isVhostMode(); void setVhostMode(boolean vhostMode); List<VirtualHost> getVhosts(); void setVhosts(List<VirtualHost> vhosts); OIDCSettings getOidc(); void setOidc(OIDCSettings oidc); UMASettings getUma(); void setUma(UMASettings uma); SCIMSettings getScim(); void setScim(SCIMSettings scim); LoginSettings getLoginSettings(); void setLoginSettings(LoginSettings loginSettings); WebAuthnSettings getWebAuthnSettings(); void setWebAuthnSettings(WebAuthnSettings webAuthnSettings); AccountSettings getAccountSettings(); void setAccountSettings(AccountSettings accountSettings); Set<String> getTags(); void setTags(Set<String> tags); boolean isDynamicClientRegistrationEnabled(); boolean isOpenDynamicClientRegistrationEnabled(); boolean isDynamicClientRegistrationTemplateEnabled(); boolean isRedirectUriLocalhostAllowed(); boolean isRedirectUriUnsecuredHttpSchemeAllowed(); boolean isRedirectUriWildcardAllowed(); boolean isRedirectUriStrictMatching(); ReferenceType getReferenceType(); void setReferenceType(ReferenceType referenceType); String getReferenceId(); void setReferenceId(String referenceId); Set<String> getIdentities(); void setIdentities(Set<String> identities); @Override boolean equals(Object o); @Override int hashCode(); }
Domain implements Resource { public boolean isRedirectUriUnsecuredHttpSchemeAllowed() { return this.getOidc()!=null && this.getOidc().getClientRegistrationSettings()!=null && this.getOidc().getClientRegistrationSettings().isAllowHttpSchemeRedirectUri(); } Domain();  Domain(Domain other); String getId(); void setId(String id); String getName(); void setName(String name); String getDescription(); void setDescription(String description); boolean isEnabled(); void setEnabled(boolean enabled); Date getCreatedAt(); void setCreatedAt(Date createdAt); Date getUpdatedAt(); void setUpdatedAt(Date updatedAt); String getPath(); void setPath(String path); boolean isVhostMode(); void setVhostMode(boolean vhostMode); List<VirtualHost> getVhosts(); void setVhosts(List<VirtualHost> vhosts); OIDCSettings getOidc(); void setOidc(OIDCSettings oidc); UMASettings getUma(); void setUma(UMASettings uma); SCIMSettings getScim(); void setScim(SCIMSettings scim); LoginSettings getLoginSettings(); void setLoginSettings(LoginSettings loginSettings); WebAuthnSettings getWebAuthnSettings(); void setWebAuthnSettings(WebAuthnSettings webAuthnSettings); AccountSettings getAccountSettings(); void setAccountSettings(AccountSettings accountSettings); Set<String> getTags(); void setTags(Set<String> tags); boolean isDynamicClientRegistrationEnabled(); boolean isOpenDynamicClientRegistrationEnabled(); boolean isDynamicClientRegistrationTemplateEnabled(); boolean isRedirectUriLocalhostAllowed(); boolean isRedirectUriUnsecuredHttpSchemeAllowed(); boolean isRedirectUriWildcardAllowed(); boolean isRedirectUriStrictMatching(); ReferenceType getReferenceType(); void setReferenceType(ReferenceType referenceType); String getReferenceId(); void setReferenceId(String referenceId); Set<String> getIdentities(); void setIdentities(Set<String> identities); @Override boolean equals(Object o); @Override int hashCode();  }