KEYCLOAK-12344 Update examples version

This commit is contained in:
stianst 2020-03-10 08:23:04 +01:00 committed by Stian Thorgersen
parent 72e4690248
commit ec1c21efe9
39 changed files with 42 additions and 38 deletions

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Examples - Admin Client</name> <name>Keycloak Examples - Admin Client</name>

View file

@ -23,7 +23,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Examples - Basic Auth</name> <name>Keycloak Examples - Basic Auth</name>

View file

@ -23,7 +23,7 @@
<parent> <parent>
<artifactId>keycloak-examples-broker-parent</artifactId> <artifactId>keycloak-examples-broker-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Broker Examples - Facebook Authentication</name> <name>Keycloak Broker Examples - Facebook Authentication</name>

View file

@ -23,7 +23,7 @@
<parent> <parent>
<artifactId>keycloak-examples-broker-parent</artifactId> <artifactId>keycloak-examples-broker-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Broker Examples - Google Authentication</name> <name>Keycloak Broker Examples - Google Authentication</name>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Broker Examples</name> <name>Broker Examples</name>

View file

@ -23,7 +23,7 @@
<parent> <parent>
<artifactId>keycloak-examples-broker-parent</artifactId> <artifactId>keycloak-examples-broker-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Broker Examples - SAML Identity Provider Brokering</name> <name>Keycloak Broker Examples - SAML Identity Provider Brokering</name>

View file

@ -23,7 +23,7 @@
<parent> <parent>
<artifactId>keycloak-examples-broker-parent</artifactId> <artifactId>keycloak-examples-broker-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Broker Examples - Twitter Authentication</name> <name>Keycloak Broker Examples - Twitter Authentication</name>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-cors-parent</artifactId> <artifactId>keycloak-examples-cors-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-cors-parent</artifactId> <artifactId>keycloak-examples-cors-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Examples - CORS</name> <name>Keycloak Examples - CORS</name>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Demo Examples</name> <name>Demo Examples</name>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-demo-parent</artifactId> <artifactId>keycloak-examples-demo-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Examples - Kerberos Credential Delegation</name> <name>Keycloak Examples - Kerberos Credential Delegation</name>

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>

View file

@ -21,7 +21,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Examples - Multi Tenant</name> <name>Keycloak Examples - Multi Tenant</name>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-parent</artifactId> <artifactId>keycloak-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Keycloak Examples</name> <name>Keycloak Examples</name>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-providers-parent</artifactId> <artifactId>keycloak-examples-providers-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Authenticator Example</name> <name>Authenticator Example</name>

View file

@ -23,6 +23,7 @@ import org.keycloak.credential.CredentialInputValidator;
import org.keycloak.credential.CredentialModel; import org.keycloak.credential.CredentialModel;
import org.keycloak.credential.CredentialProvider; import org.keycloak.credential.CredentialProvider;
import org.keycloak.credential.CredentialTypeMetadata; import org.keycloak.credential.CredentialTypeMetadata;
import org.keycloak.credential.CredentialTypeMetadataContext;
import org.keycloak.credential.UserCredentialStore; import org.keycloak.credential.UserCredentialStore;
import org.keycloak.examples.authenticator.credential.SecretQuestionCredentialModel; import org.keycloak.examples.authenticator.credential.SecretQuestionCredentialModel;
import org.keycloak.models.KeycloakSession; import org.keycloak.models.KeycloakSession;
@ -96,7 +97,7 @@ public class SecretQuestionCredentialProvider implements CredentialProvider<Secr
} }
@Override @Override
public CredentialTypeMetadata getCredentialTypeMetadata() { public CredentialTypeMetadata getCredentialTypeMetadata(CredentialTypeMetadataContext metadataContext) {
return CredentialTypeMetadata.builder() return CredentialTypeMetadata.builder()
.type(getType()) .type(getType())
.category(CredentialTypeMetadata.Category.TWO_FACTOR) .category(CredentialTypeMetadata.Category.TWO_FACTOR)

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-providers-parent</artifactId> <artifactId>keycloak-examples-providers-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Domain Extension Example</name> <name>Domain Extension Example</name>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Provider Examples</name> <name>Provider Examples</name>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-providers-parent</artifactId> <artifactId>keycloak-examples-providers-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>REST Example</name> <name>REST Example</name>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>SAML Examples</name> <name>SAML Examples</name>

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-saml-parent</artifactId> <artifactId>keycloak-examples-saml-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>saml-post-encryption</artifactId> <artifactId>saml-post-encryption</artifactId>

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-saml-parent</artifactId> <artifactId>keycloak-examples-saml-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>sales-post-sig</artifactId> <artifactId>sales-post-sig</artifactId>

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-saml-parent</artifactId> <artifactId>keycloak-examples-saml-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>saml-redirect-signatures</artifactId> <artifactId>saml-redirect-signatures</artifactId>

View file

@ -22,7 +22,7 @@
<parent> <parent>
<artifactId>keycloak-examples-saml-parent</artifactId> <artifactId>keycloak-examples-saml-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<artifactId>saml-servlet-filter</artifactId> <artifactId>saml-servlet-filter</artifactId>

View file

@ -20,7 +20,7 @@
<parent> <parent>
<artifactId>keycloak-examples-parent</artifactId> <artifactId>keycloak-examples-parent</artifactId>
<groupId>org.keycloak</groupId> <groupId>org.keycloak</groupId>
<version>8.0.0-SNAPSHOT</version> <version>9.0.1-SNAPSHOT</version>
</parent> </parent>
<name>Themes Examples</name> <name>Themes Examples</name>

View file

@ -1686,6 +1686,9 @@
<name>!skipExamples</name> <name>!skipExamples</name>
</property> </property>
</activation> </activation>
<modules>
<module>examples</module>
</modules>
</profile> </profile>
<profile> <profile>