-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Michail Gagauz
committed
Jul 15, 2015
1 parent
c6bc106
commit 398dcf0
Showing
13 changed files
with
28 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
src/main/java/org/gagauz/tapestry/security/LoginFailedResult.java
This file was deleted.
Oops, something went wrong.
69 changes: 0 additions & 69 deletions
69
src/main/java/org/gagauz/tapestry/security/LoginResult.java
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
src/main/java/org/gagauz/tapestry/security/LoginSuccessResult.java
This file was deleted.
Oops, something went wrong.
127 changes: 0 additions & 127 deletions
127
src/main/java/org/gagauz/tapestry/security/SecurityEncryptor.java
This file was deleted.
Oops, something went wrong.
3 changes: 2 additions & 1 deletion
3
src/main/java/org/gagauz/tapestry/security/api/AccessAttribute.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
package org.gagauz.tapestry.security.api; | ||
|
||
public interface AccessAttribute { | ||
|
||
public static final AccessAttribute EMPTY_ATTRIBUTE = new AccessAttribute() { | ||
}; | ||
} |
7 changes: 7 additions & 0 deletions
7
src/main/java/org/gagauz/tapestry/security/api/AuthenticationHandler.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package org.gagauz.tapestry.security.api; | ||
|
||
public interface AuthenticationHandler<T extends LoginDetails> { | ||
void handleLogin(User newUser, T credentials); | ||
|
||
void handleLogout(User user); | ||
} |
8 changes: 0 additions & 8 deletions
8
src/main/java/org/gagauz/tapestry/security/api/Credentials.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
src/main/java/org/gagauz/tapestry/security/api/LoginDetails.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package org.gagauz.tapestry.security.api; | ||
|
||
public interface LoginDetails { | ||
|
||
} |
5 changes: 0 additions & 5 deletions
5
src/main/java/org/gagauz/tapestry/security/api/LoginHandler.java
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
src/main/java/org/gagauz/tapestry/security/api/LogoutHandler.java
This file was deleted.
Oops, something went wrong.
5 changes: 2 additions & 3 deletions
5
src/main/java/org/gagauz/tapestry/security/api/UserProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
package org.gagauz.tapestry.security.api; | ||
|
||
public interface UserProvider<T extends User> { | ||
|
||
T findByCredentials(Credentials credentials); | ||
public interface UserProvider<T extends LoginDetails> { | ||
User findByCredentials(T credentials); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters