Available Methods
- setEnabled ( )
- setRealm ( )
- setId ( )
- getClients ( )
- setPasswordPolicy ( )
- setClients ( )
- setDirectGrantFlow ( )
- setRegistrationEmailAsUsername ( )
- setEventsEnabled ( )
- setRevokeRefreshToken ( )
- setEventsListeners ( )
- setResetCredentialsFlow ( )
- getSsoSessionMaxLifespan ( )
- isVerifyEmail ( )
- setSslRequired ( )
- setBruteForceProtected ( )
- setEnabledEventTypes ( )
- setPrivateKey ( )
- setSupportedLocales ( )
- setVerifyEmail ( )
- setAccessTokenLifespan ( )
- getRealm ( )
- getId ( )
- setUsers ( )
- getScopeMappings ( )
- isRememberMe ( )
- getActionTokenGeneratedByUserLifespan ( )
- setAccessCodeLifespan ( )
- setSsoSessionIdleTimeout ( )
- addIdentityProvider ( )
- setMaxFailureWaitSeconds ( )
- setResetPasswordAllowed ( )
- getSsoSessionIdleTimeout ( )
- isRegistrationEmailAsUsername ( )
- setRegistrationAllowed ( )
- setAttributes ( )
- setPublicKey ( )
- setWebAuthnPolicyUserVerificationRequirement ( )
- setDisplayName ( )
- getWebAuthnPolicyRequireResidentKey ( )
- getSsoSessionIdleTimeoutRememberMe ( )
- getAdminTheme ( )
- getClientSessionMaxLifespan ( )
- setWaitIncrementSeconds ( )
- setSsoSessionMaxLifespanRememberMe ( )
- setAccountTheme ( )
- setRoles ( )
- getAuthenticationFlows ( )
- getAccessCodeLifespanUserAction ( )
- getDockerAuthenticationFlow ( )
- isEditUsernameAllowed ( )
- isDuplicateEmailsAllowed ( )
- setFailureFactor ( )
- getSmtpServer ( )
- getDefaultRoles ( )
- getNotBefore ( )
Related Classes
- java.util.Arrays
- java.io.File
- java.util.Collections
- java.io.InputStream
- java.util.concurrent.TimeUnit
- org.junit.Before
- java.util.LinkedList
- java.util.stream.Collectors
- org.junit.Assert
- com.fasterxml.jackson.databind.ObjectMapper
- org.junit.jupiter.api.Test
- javax.ws.rs.core.MediaType
- javax.ws.rs.core.Response
- com.fasterxml.jackson.core.JsonParser
- com.fasterxml.jackson.core.type.TypeReference
- javax.ws.rs.POST
- javax.mail.internet.MimeMessage
- javax.ws.rs.Consumes
- org.hamcrest.Matchers
- javax.mail.MessagingException
- javax.ws.rs.NotFoundException
- org.junit.jupiter.api.Order
- org.keycloak.models.KeycloakSession
- org.keycloak.Config
- org.keycloak.util.JsonSerialization
Java Code Examples for org.keycloak.representations.idm.RealmRepresentation#getAuthenticationFlows()
The following examples show how to use
org.keycloak.representations.idm.RealmRepresentation#getAuthenticationFlows() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImportAuthenticationFlowsIT.java From keycloak-config-cli with Apache License 2.0 | 5 votes |
private AuthenticationFlowRepresentation getAuthenticationFlow(RealmRepresentation updatedRealm, String flowAlias) { List<AuthenticationFlowRepresentation> authenticationFlows = updatedRealm.getAuthenticationFlows(); return authenticationFlows.stream() .filter(f -> f.getAlias().equals(flowAlias)) .findFirst() .orElse(null); }
Example 2
Source File: AuthenticationFlowRepository.java From keycloak-config-cli with Apache License 2.0 | 4 votes |
public List<AuthenticationFlowRepresentation> getAll(String realm) { RealmRepresentation realmExport = realmRepository.partialExport(realm, false, false); return realmExport.getAuthenticationFlows(); }