Fix packaging for shiro bundle
[aaa.git] / aaa-shiro / impl / src / main / java / org / opendaylight / aaa / datastore / mdsal / MdsalTokenStore.java
1 /*
2  * Copyright (c) 2017 Kontron Canada and others. All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.aaa.datastore.mdsal;
10
11 import org.opendaylight.aaa.api.Authentication;
12 import org.opendaylight.aaa.api.TokenStore;
13
14 /**
15  * Implementation of the mdsal AAA token store
16  */
17 public class MdsalTokenStore implements AutoCloseable, TokenStore {
18
19     private final long timeToLive;
20
21     public MdsalTokenStore(long timeToLive) {
22         this.timeToLive = timeToLive;
23     }
24
25     @Override
26     public void put(String token, Authentication auth) {
27         // TODO Auto-generated method stub
28     }
29
30     @Override
31     public Authentication get(String token) {
32         // TODO Auto-generated method stub
33         return null;
34     }
35
36     @Override
37     public boolean delete(String token) {
38         // TODO Auto-generated method stub
39         return false;
40     }
41
42     @Override
43     public long tokenExpiration() {
44         // TODO Auto-generated method stub
45         return 0;
46     }
47
48     @Override
49     public void close() throws Exception {
50         // TODO Auto-generated method stub
51     }
52
53 }