# README
CARP
CARP is a "CAS Authentication Reverse Proxy" framework.
Usage
Configure your environment:
base-url: https://192.168.56.2
cas-url: https://192.168.56.2/cas
service-url: http://192.168.56.1:9090
target-url: http://localhost:8070
skip-ssl-verification: true
port: 9090
principal-header: X-CARP-Authentication
If you want to redirect logout request, this can be configured with the keys logout-method
,
specifying a http method (GET
, POST
, DELETE
, ...) and/or logout-path
specifying the
suffix of the logout path. Example:
logout-method: DELETE
logout-path: /rapture/session
If you want resources to be available anonymously (=without authentication) in your application,
you can configure the way your resource paths look like with the resource-path
option:
resource-path: /nexus/repository
Start the server:
package main
func main() {
flag.Parse()
configuration, err := InitializeAndReadConfiguration()
if err != nil {
panic(err)
}
log.Infof("start carp %s", Version)
server, err := NewServer(configuration)
if err != nil {
panic(err)
}
server.ListenAndServe()
}
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Deprecated: ReadConfiguration exists for historical compatibility.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author