Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 771 | blopes | 1 | @startuml |
| 2 | |||
| 3 | ' Licensed to the Apache Software Foundation (ASF) under one or more |
||
| 4 | ' contributor license agreements. See the NOTICE file distributed with |
||
| 5 | ' this work for additional information regarding copyright ownership. |
||
| 6 | ' The ASF licenses this file to You under the Apache License, Version 2.0 |
||
| 7 | ' (the "License"); you may not use this file except in compliance with |
||
| 8 | ' the License. You may obtain a copy of the License at |
||
| 9 | ' |
||
| 10 | ' http://www.apache.org/licenses/LICENSE-2.0 |
||
| 11 | ' |
||
| 12 | ' Unless required by applicable law or agreed to in writing, software |
||
| 13 | ' distributed under the License is distributed on an "AS IS" BASIS, |
||
| 14 | ' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||
| 15 | ' See the License for the specific language governing permissions and |
||
| 16 | ' limitations under the License. |
||
| 17 | |||
| 18 | hide footbox |
||
| 19 | skinparam style strictuml |
||
| 20 | |||
| 21 | participant MimeHeaders |
||
| 22 | participant CoyoteRequest |
||
| 23 | participant Request |
||
| 24 | activate ErrorReportValve |
||
| 25 | |||
| 26 | ErrorReportValve -> StandardHostValve ++: invoke() |
||
| 27 | StandardHostValve -> Request ++: getContext() |
||
| 28 | return |
||
| 29 | StandardHostValve -> Context ++: bind() |
||
| 30 | return |
||
| 31 | StandardHostValve -> Context ++: getPipeline() |
||
| 32 | return |
||
| 33 | StandardHostValve -> "StandardPipeline\n(Context)" ++: getFirst() |
||
| 34 | return |
||
| 35 | StandardHostValve -> BasicAuthenticator ++: invoke() |
||
| 36 | BasicAuthenticator -> Context ++: getRealm() |
||
| 37 | return |
||
| 38 | BasicAuthenticator -> LockoutRealm ++: findSecurityContraints() |
||
| 39 | return |
||
| 40 | BasicAuthenticator -> LockoutRealm ++: hasUserDataPermission() |
||
| 41 | return |
||
| 42 | BasicAuthenticator -> BasicAuthenticator ++: doAuthenticate() |
||
| 43 | BasicAuthenticator -> Request ++: getCoyoteRequest() |
||
| 44 | return |
||
| 45 | BasicAuthenticator -> CoyoteRequest ++: getMimeHeaders() |
||
| 46 | return |
||
| 47 | BasicAuthenticator -> MimeHeaders ++: getValue("authorization") |
||
| 48 | return |
||
| 49 | BasicAuthenticator --> BasicCredentials **: |
||
| 50 | BasicAuthenticator -> BasicCredentials ++: getUserName() |
||
| 51 | return |
||
| 52 | BasicAuthenticator -> BasicCredentials ++: getPassword() |
||
| 53 | return |
||
| 54 | BasicAuthenticator -> Context ++: getRealm() |
||
| 55 | return |
||
| 56 | BasicAuthenticator -> LockoutRealm ++: authenticate() |
||
| 57 | LockoutRealm -> UserDatabaseRealm ++: authenticate() |
||
| 58 | UserDatabaseRealm -> UserDatabaseRealm ++: getPassword(username) |
||
| 59 | UserDatabaseRealm -> CredentialHandler ++: matches() |
||
| 60 | return |
||
| 61 | UserDatabaseRealm -> UserDatabaseRealm ++: getPrincipal() |
||
| 62 | return |
||
| 63 | return |
||
| 64 | return |
||
| 65 | return |
||
| 66 | return |
||
| 67 | BasicAuthenticator -> Realm ++: hasResourcePermission() |
||
| 68 | return |
||
| 69 | BasicAuthenticator -> BasicAuthenticator ++: getNext() |
||
| 70 | return |
||
| 71 | BasicAuthenticator -> StandardContextValve ++: invoke() |
||
| 72 | note right of StandardContextValve |
||
| 73 | Standard Servlet request |
||
| 74 | processing continues from |
||
| 75 | this point |
||
| 76 | end note |
||
| 77 | |||
| 78 | @enduml |