Activity Diagrams
Activity Diagrams
Duration : 3 Hrs
Ramakant Soni
Assistant Professor
Dept. of Computer Science
B K Birla Institute of Engineering & Technology, Pilani, India
Initial node
The filled circle is the starting point of the diagram
Final node
The filled circle with a boarder is the ending point. An
activity diagram can have zero or more activity final
state.
Flow/ edge
The arrows in the diagram. No label is necessary.
Join
A block bar with several flows entering it and one leaving it.
this denotes the end of parallel activities
Sub-activity indicator
The rake in the bottom corner of an activity, indicates that
the activity is described by a more finely detailed activity
diagram.
Flow final
› The circle with X through it. This indicates that Process
stop at this point.
text
Swimlanes -
Activity Diagrams that show
activities by class.
Scenario:
Scenario:
“Activity is started by Commuter actor who needs to buy a
ticket. Ticket vending machine will request trip information from
Commuter. This information will include number and type of
tickets, e.g. whether it is a monthly pass, one way or round
ticket, route number, destination or zone number, etc.
Scenario:
When a user attempts to use some hosted Google application, such as Gmail, Google generates
a SAML authentication request and sends redirect request back to the user's browser. Redirect
points to the specific identity provider. SAML authentication request contains the encoded URL
of the Google application that the user is trying to reach.
The partner identity provider authenticates the user by either asking for valid login credentials
or by checking for its own valid authentication cookies. The partner generates a SAML response
and digitally signs it. The response is forwarded to Google's Assertion Consumer Service (ACS).
Google's ACS verifies the SAML response using the partner's public key. If the response is valid
and user identity was confirmed by identity provider, ACS redirects the user to the destination
URL. Otherwise user will see error message.
Ramakant Soni @ BKBIET Pilani 28
Activity diagram: Single Sign- on for Google Apps
[2] http://en.wikipedia.org/wiki/Activity_diagram
[3] http://www.visual-paradigm.com/VPGallery/diagrams/Activity.html
[5] http://www.uml-diagrams.org/activity-diagrams-examples.html
Thanks
Ramakant Soni @ BKBIET Pilani 4/26/2015 30