Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

License

NotificationsYou must be signed in to change notification settings

StackVista/akka-http-pac4j

Repository files navigation

Build Status

akka-http-pac4j

A wrapper around pac4j (www.pac4j.org) built using AkkaHTTP

how to use it

Here are demo projects showing how to configure akka-http-pac4j:

Many other auth methods supported by pac4j should work too, see:https://github.com/pac4j/play-pac4j-scala-demo/blob/master/app/modules/SecurityModule.scala for more examples

One time publishing configuration

  • Set Sonatype account information
    • Place in$HOME/.sbt/(sbt-version 0.13 or 1.0)/sonatype.sbt the following configuration:
    credentials += Credentials("Sonatype Nexus Repository Manager",        "oss.sonatype.org",        "(Sonatype user name)",        "(Sonatype password)")
    • Create a PGP key pair:
      • sbt pgp-cmd gen-key which should generate an output like...
      Please enter the name associated with the key: DeveloperPlease enter the email associated with the key: developer@gmail.comPlease enter the passphrase for the key: ***************Please re-enter the passphrase for the key: ***************[info] Creating a new PGP key, this could take a long time.[info] Public key := /Users/developer/.sbt/gpg/pubring.asc[info] Secret key := /Users/developer/.sbt/gpg/secring.asc[info] Please do not share your secret key.   Your public key is free to share.
    • Send your key to a public Key Server
      • Obtain your key id usingsbt pgp-cmd list-keys which should output...
      /Users/developer/.sbt/gpg/pubring.asc-------------------------------------pubRSA@2048/2bb8c19d2018-12-03uid                Developer <developer@gmail.com>
      • Export your key usingsbt pgp-cmd send-key 2bb8c19d hkp://keyserver.ubuntu.com
      Sending PublicKeyRing(PublicKey(9884fa162bb8c19d, Developer <developer@gmail.com>, RSA@2048)) to HkpServer(http://keyserver.ubuntu.com:11371)
  • Support links

Publishing artifacts

  • Modify the version inbuild.sbt. If the project version has "SNAPSHOT" suffix, your project will be published to the snapshot repository of Sonatype
    version      := "0.4.1-SNAPSHOT"
  • Publish usingsbt publishSigned

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors13

Languages


[8]ページ先頭

©2009-2026 Movatter.jp