summaryrefslogtreecommitdiff
path: root/service/diagrams/forgot_password.puml
diff options
context:
space:
mode:
authorSriram Viswanathan <sriramv@thoughtworks.com>2017-03-24 18:29:13 -0300
committerSriram Viswanathan <sriramv@thoughtworks.com>2017-03-24 18:29:13 -0300
commit2af9c5c3969c9d4bae437948d4e5d481e22f3390 (patch)
tree85b3e952784813d08a54e989eb6e5d27cfce07ce /service/diagrams/forgot_password.puml
parent367ad8bb015f69e287765137646a6bc6c1c5aff5 (diff)
Updated 'Forgot Password' diagram and rename diagrams from '.txt' to '.puml'
Diffstat (limited to 'service/diagrams/forgot_password.puml')
-rw-r--r--service/diagrams/forgot_password.puml68
1 files changed, 68 insertions, 0 deletions
diff --git a/service/diagrams/forgot_password.puml b/service/diagrams/forgot_password.puml
new file mode 100644
index 00000000..bfa746b8
--- /dev/null
+++ b/service/diagrams/forgot_password.puml
@@ -0,0 +1,68 @@
+@startuml
+title Forgot Password Flow
+
+skinparam handwritten false
+skinparam sequenceGroupBorderColor LightGrey
+
+skinparam sequence {
+ ArrowColor Black
+ ActorBorderColor DeepSkyBlue
+ LifeLineBorderColor blue
+ LifeLineBackgroundColor #A9DCDF
+
+ ParticipantBorderColor DeepSkyBlue
+ ParticipantBackgroundColor White
+ ParticipantFontName Impact
+ ParticipantFontSize 17
+ ParticipantFontColor Grey
+
+ ActorBackgroundColor aqua
+ ActorFontColor DeepSkyBlue
+ ActorFontSize 17
+ ActorFontName Aapex
+}
+
+actor User
+
+User -> PixUA : Submit recovery code and new password
+alt submit successful
+
+ PixUA -> BonafideClient : //Handshake//
+ alt Handshake Successful
+
+ PixUA -> BonafideClient : Generate Salt & Verifier
+ alt Salt & Verifier Generation Successful
+
+ BonafideClient -> LeapWebapp : Authenticate & Save New Password
+ alt New Password Saved
+ LeapWebapp -> BonafideClient : New Password Success
+ BonafideClient -> PixUA : New Password Success
+
+ PixUA -> SoledadClient : Save Secret With New Password
+ alt Bonafide secret & new password saved successfully
+ SoledadClient -> PixUA : Secret saved successfully
+ PixUA -> User : Redirect To Confirmation Page
+ else soledad failure
+ PixUA -> User : Error Message
+ end
+
+ else bonafide failure
+ LeapWebapp -> BonafideClient : New Password Not Saved
+ BonafideClient -> PixUA : New Password Not Saved
+ PixUA -> User : Error Message
+ end
+
+ else Salt & Verifier Generation Error
+ BonafideClient -> PixUA : Salt Generation Error
+ PixUA -> User : Error Message
+ end
+
+ else Handshake Failure
+ BonafideClient -> PixUA : Handshake Failure
+ PixUA -> User : Error Message
+ end
+
+else submit failure
+ PixUA -> User : Error Message
+end
+@enduml