Passay-Android


Source link: https://github.com/MarcinOrlowski/passay-android

What is Passay?

Passay is password policy enforcement for Java. It builds on the success of vt-password and provides a comprehensive and extensible feature set like password validation or password generation.

  • Password Validation enforces password policy by validating candidate passwords against a configurable rule set. Passay provides a comprehensive set of rules for common cases and supports extension through a simple rule interface.

  • Password generator creates new passwords using a configurable rule set. The password generator is extensible like all Passay components.

Resources

What is this Passay for Android for?

In short original Passay builds are created using Java 1.8 (this also includes dependencies like Cryptacular) so if you are building your Android project using Java 1.7 you will face compilation errors trying to add original Passay. And this is where this passay-android package comes handy - it is simply Java 1.7 friendly and comes as drop-in replacement using original org.passay package namepace.

Usage

Edit your master gradle.build file and add jitpack repository (if you use other jitpack hosted artefacts, then you have this already and this step can safely be skipped):

allprojects {

  repositories {

...
maven {
 url 'https://jitpack.io' 
}
  
}
 
}
 

then edit your module's build.gradle and add the following as your dependency:

compile 'com.github.MarcinOrlowski:passay-android:1.2.0' 

Important notes

passay-android is built from recent 1.2.0 sources, however you should be informed that:

  • If you use Java 1.8 in your project, try using upstream Passay first,
  • Due to code requirements, minSdk for this library is 19 which means KitKat or newer,
  • This package uses original org.passay namespace so it comes as drop-in replacement, but can also cause conflics (if so, raise the issue ticket please!),
  • JDBCDictionary is removed due to missing recent Java components on Android.

Resources

Android Game Boy Emulator written in Java.

Autogenerated java hamcrest matchers for pojo with help of AnnotationProcessor.

Yet, another light weight Java FSM library. This library follows the idea from Google AutoValue. It generates a subclass that handles states.

Smooth version of Google Support Design AppBarLayout.

Simple android view to display collection of colorful tags efficiently. You can edit the tag's style, and set listener of selecting or deleting tag.

Dialog for Android TextView to improve readability. Mostly used for applications where the main focus is to read.

Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes