This is an automated email from the ASF dual-hosted git repository.
bdemers pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shiro.git.
from 848d581 Add result tests badge on README.md
new efcbf77 Adds BearerToken support
new fb2f1b1 fix license headers
new 8893f15 Merge pull request #129 from bdemers/bearer-token
The 1817 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../java/org/apache/shiro/authc/BearerToken.java | 69 +++++
.../org/apache/shiro/guice/web/ShiroWebModule.java | 3 +
.../authc/BasicHttpAuthenticationFilter.java | 294 +--------------------
.../authc/BearerHttpAuthenticationFilter.java | 101 +++++++
...onFilter.java => HttpAuthenticationFilter.java} | 74 ++----
.../apache/shiro/web/filter/mgt/DefaultFilter.java | 1 +
.../BearerHttpFilterAuthenticationTest.groovy | 213 +++++++++++++++
7 files changed, 416 insertions(+), 339 deletions(-)
create mode 100644 core/src/main/java/org/apache/shiro/authc/BearerToken.java
create mode 100644
web/src/main/java/org/apache/shiro/web/filter/authc/BearerHttpAuthenticationFilter.java
copy
web/src/main/java/org/apache/shiro/web/filter/authc/{BasicHttpAuthenticationFilter.java
=> HttpAuthenticationFilter.java} (82%)
create mode 100644
web/src/test/groovy/org/apache/shiro/web/filter/authc/BearerHttpFilterAuthenticationTest.groovy