Hi, here's a patch that adds a new method to the securitytokendecoder interface. Once this ...
15 years, 9 months ago
(2010-04-23 22:01:16 UTC)
#1
Hi,
here's a patch that adds a new method to the securitytokendecoder interface.
Once this is place we can rename these classes to xxxxCodec instead of
xxxxDecoder.
The rationale here is to allow for a simple way for shindig to generate the
security tokens on a metadata call for a given HttpServletRequest (more on that
in a later patch..)
I like the idea of having one service to decode (createToken) and encode the tokens. ...
15 years, 9 months ago
(2010-04-23 22:34:39 UTC)
#2
I like the idea of having one service to decode (createToken) and encode the
tokens.
http://codereview.appspot.com/975043/diff/1/2
File
java/common/src/main/java/org/apache/shindig/auth/BlobCrypterSecurityTokenDecoder.java
(right):
http://codereview.appspot.com/975043/diff/1/2#newcode122
java/common/src/main/java/org/apache/shindig/auth/BlobCrypterSecurityTokenDecoder.java:122:
BlobCrypterSecurityToken t = (BlobCrypterSecurityToken)token;
Since it is public function, I think it would be best to do safe casting here.
On 2010/04/23 22:34:39, zhoresh wrote: > I like the idea of having one service to ...
15 years, 9 months ago
(2010-04-23 22:51:47 UTC)
#3
On 2010/04/23 22:34:39, zhoresh wrote:
> I like the idea of having one service to decode (createToken) and encode the
> tokens.
>
> http://codereview.appspot.com/975043/diff/1/2
> File
>
java/common/src/main/java/org/apache/shindig/auth/BlobCrypterSecurityTokenDecoder.java
> (right):
>
> http://codereview.appspot.com/975043/diff/1/2#newcode122
>
java/common/src/main/java/org/apache/shindig/auth/BlobCrypterSecurityTokenDecoder.java:122:
> BlobCrypterSecurityToken t = (BlobCrypterSecurityToken)token;
> Since it is public function, I think it would be best to do safe casting here.
done.
Issue 975043: Shindig SecurityTokenDecoder -> SecurityTokenCodec - part 1
(Closed)
Created 15 years, 9 months ago by Paul Lindner
Modified 15 years, 8 months ago
Reviewers: beaton, zhoresh, chirag
Base URL:
Comments: 1