it does look like it is basically the same thing :-)


On Wed, Jan 15, 2014 at 9:38 AM, Sebastien Blanc
<notifications@github.com>wrote:

> In src/main/java/org/jboss/aerogear/unifiedpush/model/token/Token.java:
>
> > + * 	http://www.apache.org/licenses/LICENSE-2.0
> > + *
> > + * Unless required by applicable law or agreed to in writing, software
> > + * distributed under the License is distributed on an "AS IS" BASIS,
> > + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> > + * See the License for the specific language governing permissions and
> > + * limitations under the License.
> > + */
> > +package org.jboss.aerogear.unifiedpush.model.token;
> > +
> > +import org.jboss.aerogear.security.token.ExpirationTime;
> > +
> > +import javax.persistence.Entity;
> > +import javax.persistence.Id;
> > +
> > +@Entity
>
> Yes , Tokens has to be persisted. And yes I'm not really happy with the
> Credential object, it's a bit of overlap with the Developer, object let
> me see if can refactor that.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/aerogear/aerogear-unifiedpush-server/pull/118/files#r8889219>
> .
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf