view artifacts/doc/mapserver/elbe-mapfile.map @ 5983:0c63ce5a7e74

Use name id as username in saml.User. The old WAS-only code used the user-name typed in by the user when logging in. When logging in via SAML single sign on, we must extract the user name from the SAML ticket and the name ID should basically be what the user types in when authenticating.
author Bernhard Herzog <bh@intevation.de>
date Fri, 10 May 2013 19:03:48 +0200
parents 5aa05a7a34b7
children
line wrap: on
line source
MAP
    NAME "Elbe"
    STATUS ON
    SIZE 600 400
    MAXSIZE 4000
    EXTENT 3590790.616790 5648985.748203 3868521.325854 5922665.254118
    UNITS DD
    #FONTSET "fontset.txt"
    IMAGECOLOR 255 255 255
    PROJECTION
        "init=epsg:31466"
    END


    OUTPUTFORMAT
        NAME agg
        DRIVER AGG/PNG
        IMAGEMODE RGB
    END

    CONFIG "MS_ERRORFILE" "logs/flys-elbe-wms.log"
    DEBUG 5

    WEB
      METADATA
        "wms_title"             "FLYS-3.0 WMS (ELBE)"
        "wms_onlineresource"    "http://czech-republic.atlas.intevation.de/cgi-bin/elbe-wms"
        "wms_accessconstraints" "none"
        "wms_fees"              "none"
        "wms_addresstype"       "postal"
        "wms_address"           "Any Street"
        "wms_city"              "Any City"
        "wms_stateorprovince"   "Any state"
        "wms_postcode"          "My Postalcode"
        "wms_country"           "Any Country"
        "wms_contactperson"     "Any Person"
        "wms_contactorganization" "Any Orga"
        "wms_contactelectronicmailaddress" "any-email@example.com"
        "wms_contactvoicetelephone" "Any's telephone number"
        "wms_srs" "EPSG:31466 EPSG:4326"
        "wms_feature_info_mime_type" "text/html"
        "ows_enable_request"   "*"
      END
    END

    LAYER
        NAME riveraxis
        EXTENT 3590790.616790 5648985.748203 3868521.325854 5922665.254118
        DEBUG 5
  
        METADATA
            "wms_title" "River Axis"
        END

        TYPE LINE
        STATUS ON
        INCLUDE "dbconnection.include"
	DATA 'geom FROM "river_axes" USING UNIQUE id USING srid=31466'
        FILTER "river_id='6'"

        PROJECTION
            "init=epsg:31466"
        END

        CLASS
            NAME "riveraxis"
            STYLE
                SIZE 5
                COLOR "#000000"
            END
        END
    END
END

http://dive4elements.wald.intevation.org