I'm trying to make use of this library within Spring Security. It's been awesomely easy.
One issue I've run into is that UnixUser's final class modifier makes it so I can mock it via Mockito. This makes it so I essentially can't test my code's use of the library without having access to an actual pam service.
Hi!
I'm trying to make use of this library within Spring Security. It's been awesomely easy.
One issue I've run into is that UnixUser's final class modifier makes it so I can mock it via Mockito. This makes it so I essentially can't test my code's use of the library without having access to an actual pam service.
Any chance you could make it non-final?