Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright 2015 Zalando SE Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at 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.zalando.stups.tokens.config;
 
 import java.net.URI;
 
 import java.util.List;
 
 import  org.springframework.boot.context.properties.ConfigurationProperties;

Author(s):
jbellmann
 
 @ConfigurationProperties(prefix = "tokens")
 public class AccessTokensBeanProperties {
 
     private static final String CLIENT_JSON = "client.json";
 
     private static final String USER_JSON = "user.json";
 
     private URI accessTokenUri;
 
     private int refreshPercentLeft = 40;
 
     private int warnPercentLeft = 20;
 
     private String credentialsDirectory;
 
     private String userCredentialsFilename = ;
 
 
 
     public URI getAccessTokenUri() {
         return ;
     }
 
     public void setAccessTokenUri(final URI accessTokenUri) {
         this. = accessTokenUri;
     }
 
     public int getRefreshPercentLeft() {
         return ;
     }
 
     public void setRefreshPercentLeft(final int refreshPercentLeft) {
         this. = refreshPercentLeft;
     }
 
     public int getWarnPercentLeft() {
         return ;
     }
 
     public void setWarnPercentLeft(final int warnPercentLeft) {
         this. = warnPercentLeft;
     }
 
     public String getCredentialsDirectory() {
         return ;
     }
 
     public void setCredentialsDirectory(final String credentialsDirectory) {
         this. = credentialsDirectory;
     }
 
         return ;
     }
 
     public void setTokenConfigurationList(final List<TokenConfigurationtokenConfigurationList) {
         this. = tokenConfigurationList;
     }
 
     public String getUserCredentialsFilename() {
         return ;
     }
 
     public void setUserCredentialsFilename(final String userCredentialsFilename) {
         this. = userCredentialsFilename;
     }
 
     public String getClientCredentialsFilename() {
         return ;
     }
    public void setClientCredentialsFilename(final String clientCredentialsFilename) {
        this. = clientCredentialsFilename;
    }
New to GrepCode? Check out our FAQ X