@startuml skinparam monochrome true skinparam defaultFontName Arial skinparam classFontSize 10 skinparam sequenceBoxBorderColor #black participant "**SSP Host**\nAccessor Authentication Service Gate" as hosta_fs_ctr participant "**SSP Host**\nAdministration Gate" as hosta_adm participant "**Other Host**\nAdministration Gate" as hostb_adm participant "**Other Host**\nAccessor Authentication Application Gate" as hostb_fs_ctr participant "**SSP Host**\nXXX Service Gate" as hosta_fs_data participant "**Other Host**\nXX Application Gate" as hostb_fs_data autonumber ...**Notation:** Gate Identifier : Pipe Session Open on [PIN,POUT]... ... opt hostb_fs_ctr->hosta_fs_ctr: AAS-ADMIN-GET-CAPABILITIES-Service-Command on P10 activate hosta_fs_ctr activate hostb_fs_ctr hosta_fs_ctr-->hostb_fs_ctr: eANY-OK [FS_ID0001] on P20 deactivate hostb_fs_ctr deactivate hosta_fs_ctr end ... opt [requested for Token based authentication] hostb_fs_ctr->hosta_fs_ctr: AAS-GET-CHALLENGE-Service-Command [Parameters...] on P10 activate hosta_fs_ctr activate hostb_fs_ctr hosta_fs_ctr-->hostb_fs_ctr: eANY-OK on P20, aAS-Challenge deactivate hostb_fs_ctr deactivate hosta_fs_ctr end ... hostb_fs_ctr->hosta_fs_ctr: AAS-OP-AUTHENTICATE-ACCESSOR-Service-Command [Parameters...] on P10, aAAS-Token activate hosta_fs_ctr activate hostb_fs_ctr hosta_fs_ctr-->hostb_fs_ctr: eANY-OK on P20, aAAS-Token deactivate hostb_fs_ctr deactivate hosta_fs_ctr alt Successful authentication hosta_adm->hostb_adm:EVT_ADM_BIND [**aGate-Identifier ,P11**] hostb_adm->hosta_adm:EVT_ADM_BIND [**aGate-Identifier ,P21**] note right of hostb_fs_data : ApplicationaGate-Identifier : Pipe Session Open on [P21,P11] note left of hosta_fs_data: ServiceaGate-Identifier : Pipe Session Open on [P11,P21] hosta_fs_data<-hostb_fs_data: XXX Operations [Parameters...] on P11 activate hosta_fs_data activate hostb_fs_data hostb_fs_data<--hosta_fs_data: eANY-OK [Parameters...] on P21 deactivate hostb_fs_data deactivate hosta_fs_data ... end hostb_adm->hosta_adm:EVT_ADM_UNBIND [**P11**] note right of hostb_fs_data : ServiceaGate-Identifier : Pipe Session closed on [P21,P11] note left of hosta_fs_data: ServiceaGate-Identifier : Pipe Session closed on [P11,P21] @enduml