Docs update
This commit is contained in:
parent
ce54d28a23
commit
edbd089092
|
@ -40,7 +40,7 @@ public class SecurityInterceptors {
|
|||
//END SNIPPET: basicAuthInterceptorRealm
|
||||
}
|
||||
|
||||
// START SNIPPET: basicAuthInterceptor
|
||||
// START SNIPPET: basicAuthInterceptorExample
|
||||
@Interceptor
|
||||
public class BasicSecurityInterceptor {
|
||||
|
||||
|
@ -80,6 +80,6 @@ public class SecurityInterceptors {
|
|||
|
||||
|
||||
}
|
||||
//END SNIPPET: basicAuthInterceptor
|
||||
//END SNIPPET: basicAuthInterceptorExample
|
||||
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ Server security is divided into three topics:
|
|||
The [Server Interceptor](/docs/interceptors/server_interceptors.html) framework can provide an easy way to test for credentials. The following example shows a simple custom interceptor which tests for HTTP Basic Auth.
|
||||
|
||||
```java
|
||||
{{snippet:classpath:/ca/uhn/hapi/fhir/docs/SecurityInterceptors.java|basicAuthInterceptor}}
|
||||
{{snippet:classpath:/ca/uhn/hapi/fhir/docs/SecurityInterceptors.java|basicAuthInterceptorExample}}
|
||||
```
|
||||
|
||||
## HTTP Basic Auth
|
||||
|
|
|
@ -10,7 +10,7 @@ package ca.uhn.fhir.rest.server.messaging.json;
|
|||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
|
|
Loading…
Reference in New Issue