Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3851a2f
commit 68976f5
Showing
33 changed files
with
1,992 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
83 changes: 83 additions & 0 deletions
83
model/api/src/main/java/org/keycloak/models/AuthenticationExecutionModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,83 @@ | |||
package org.keycloak.models; | |||
|
|||
/** | |||
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a> | |||
* @version $Revision: 1 $ | |||
*/ | |||
public class AuthenticationExecutionModel { | |||
|
|||
private String id; | |||
private String authenticator; | |||
private boolean autheticatorFlow; | |||
private Requirement requirement; | |||
private boolean userSetupAllowed; | |||
private int priority; | |||
private String parentFlow; | |||
|
|||
public String getId() { | |||
return id; | |||
} | |||
|
|||
public void setId(String id) { | |||
this.id = id; | |||
} | |||
|
|||
public String getAuthenticator() { | |||
return authenticator; | |||
} | |||
|
|||
public void setAuthenticator(String authenticator) { | |||
this.authenticator = authenticator; | |||
} | |||
|
|||
public Requirement getRequirement() { | |||
return requirement; | |||
} | |||
|
|||
public void setRequirement(Requirement requirement) { | |||
this.requirement = requirement; | |||
} | |||
|
|||
public int getPriority() { | |||
return priority; | |||
} | |||
|
|||
public void setPriority(int priority) { | |||
this.priority = priority; | |||
} | |||
|
|||
public boolean isUserSetupAllowed() { | |||
return userSetupAllowed; | |||
} | |||
|
|||
public void setUserSetupAllowed(boolean userSetupAllowed) { | |||
this.userSetupAllowed = userSetupAllowed; | |||
} | |||
|
|||
public String getParentFlow() { | |||
return parentFlow; | |||
} | |||
|
|||
public void setParentFlow(String parentFlow) { | |||
this.parentFlow = parentFlow; | |||
} | |||
|
|||
/** | |||
* Is the referenced authenticator a flow? | |||
* | |||
* @return | |||
*/ | |||
public boolean isAutheticatorFlow() { | |||
return autheticatorFlow; | |||
} | |||
|
|||
public void setAutheticatorFlow(boolean autheticatorFlow) { | |||
this.autheticatorFlow = autheticatorFlow; | |||
} | |||
|
|||
public enum Requirement { | |||
REQUIRED, | |||
OPTIONAL, | |||
ALTERNATIVE | |||
} | |||
} |
35 changes: 35 additions & 0 deletions
35
model/api/src/main/java/org/keycloak/models/AuthenticationFlowModel.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,35 @@ | |||
package org.keycloak.models; | |||
|
|||
/** | |||
* @author <a href="mailto:bill@burkecentral.com">Bill Burke</a> | |||
* @version $Revision: 1 $ | |||
*/ | |||
public class AuthenticationFlowModel { | |||
private String id; | |||
private String alias; | |||
private String description; | |||
|
|||
public String getId() { | |||
return id; | |||
} | |||
|
|||
public void setId(String id) { | |||
this.id = id; | |||
} | |||
|
|||
public String getAlias() { | |||
return alias; | |||
} | |||
|
|||
public void setAlias(String alias) { | |||
this.alias = alias; | |||
} | |||
|
|||
public String getDescription() { | |||
return description; | |||
} | |||
|
|||
public void setDescription(String description) { | |||
this.description = description; | |||
} | |||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.