format/cleanup and copyright

pull/477/head
Justin Richer 2013-07-29 11:28:51 -04:00
parent d4b544d519
commit e658ffd7fc
173 changed files with 1701 additions and 1468 deletions

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.oauth2.introspectingfilter; package org.mitre.oauth2.introspectingfilter;
import java.util.Collection; import java.util.Collection;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.oauth2.introspectingfilter; package org.mitre.oauth2.introspectingfilter;
import java.util.Date; import java.util.Date;

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,11 +1,26 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.mitre.oauth2.introspectingfilter; package org.mitre.oauth2.introspectingfilter;
import java.text.ParseException; import java.text.ParseException;
import java.util.HashSet;
import java.util.Set;
import org.mitre.openid.connect.client.service.ServerConfigurationService; import org.mitre.openid.connect.client.service.ServerConfigurationService;
import org.mitre.openid.connect.config.ServerConfiguration; import org.mitre.openid.connect.config.ServerConfiguration;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.oauth2.introspectingfilter; package org.mitre.oauth2.introspectingfilter;
import java.text.DateFormat; import java.text.DateFormat;

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client; package org.mitre.openid.connect.client;
import java.io.IOException; import java.io.IOException;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client; package org.mitre.openid.connect.client;
import java.util.Collection; import java.util.Collection;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client; package org.mitre.openid.connect.client;
import org.apache.http.client.HttpClient; import org.apache.http.client.HttpClient;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.keypublisher; package org.mitre.openid.connect.client.keypublisher;
import java.util.Map; import java.util.Map;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */
@ -21,7 +22,6 @@ package org.mitre.openid.connect.client.service;
import org.mitre.oauth2.model.RegisteredClient; import org.mitre.oauth2.model.RegisteredClient;
import org.mitre.openid.connect.config.ServerConfiguration; import org.mitre.openid.connect.config.ServerConfiguration;
import org.springframework.security.oauth2.provider.ClientDetails;
/** /**
* @author jricher * @author jricher

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,15 +13,15 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */
package org.mitre.openid.connect.client.service; package org.mitre.openid.connect.client.service;
import org.mitre.oauth2.model.ClientDetailsEntity;
import org.mitre.oauth2.model.RegisteredClient; import org.mitre.oauth2.model.RegisteredClient;
import org.mitre.openid.connect.config.ServerConfiguration; import org.mitre.openid.connect.config.ServerConfiguration;
import org.springframework.security.oauth2.provider.ClientDetails;
/** /**
* @author jricher * @author jricher

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,3 +1,20 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,12 +1,27 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.mitre.openid.connect.client.service.impl; package org.mitre.openid.connect.client.service.impl;
import java.io.File; import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException; import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.FileReader; import java.io.FileReader;
import java.io.FileWriter; import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,6 +13,8 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,12 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue; package org.mitre.openid.connect.client.service.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
@ -27,10 +23,16 @@ import org.junit.runner.RunWith;
import org.mitre.oauth2.model.RegisteredClient; import org.mitre.oauth2.model.RegisteredClient;
import org.mitre.openid.connect.config.ServerConfiguration; import org.mitre.openid.connect.config.ServerConfiguration;
import org.mockito.InjectMocks; import org.mockito.InjectMocks;
import org.mockito.Matchers;
import org.mockito.Mock; import org.mockito.Mock;
import org.mockito.Mockito; import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner; import org.mockito.runners.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
/** /**
* @author wkim * @author wkim
* *
@ -74,7 +76,7 @@ public class TestHybridClientConfigurationService {
RegisteredClient result = hybridService.getClientConfiguration(mockServerConfig); RegisteredClient result = hybridService.getClientConfiguration(mockServerConfig);
Mockito.verify(mockStaticService).getClientConfiguration(mockServerConfig); Mockito.verify(mockStaticService).getClientConfiguration(mockServerConfig);
Mockito.verify(mockDynamicService, Mockito.never()).getClientConfiguration(Mockito.any(ServerConfiguration.class)); Mockito.verify(mockDynamicService, Mockito.never()).getClientConfiguration(Matchers.any(ServerConfiguration.class));
assertEquals(mockClient, result); assertEquals(mockClient, result);
} }

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,23 +13,26 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl; package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.junit.runner.RunWith; import org.junit.runner.RunWith;
import org.mitre.openid.connect.config.ServerConfiguration; import org.mitre.openid.connect.config.ServerConfiguration;
import org.mockito.InjectMocks; import org.mockito.InjectMocks;
import org.mockito.Matchers;
import org.mockito.Mock; import org.mockito.Mock;
import org.mockito.Mockito; import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner; import org.mockito.runners.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
/** /**
* @author wkim * @author wkim
* *
@ -68,7 +70,7 @@ public class TestHybridServerConfigurationService {
ServerConfiguration result = hybridService.getServerConfiguration(issuer); ServerConfiguration result = hybridService.getServerConfiguration(issuer);
Mockito.verify(mockStaticService).getServerConfiguration(issuer); Mockito.verify(mockStaticService).getServerConfiguration(issuer);
Mockito.verify(mockDynamicService, Mockito.never()).getServerConfiguration(Mockito.anyString()); Mockito.verify(mockDynamicService, Mockito.never()).getServerConfiguration(Matchers.anyString());
assertEquals(mockServerConfig, result); assertEquals(mockServerConfig, result);
} }

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,10 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.*; package org.mitre.openid.connect.client.service.impl;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
@ -28,6 +26,9 @@ import org.springframework.security.authentication.AuthenticationServiceExceptio
import com.google.common.collect.Sets; import com.google.common.collect.Sets;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.junit.Assert.assertThat;
/** /**
* @author wkim * @author wkim
* *

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue; package org.mitre.openid.connect.client.service.impl;
import static org.junit.Assert.fail;
import java.net.URI; import java.net.URI;
import java.net.URISyntaxException; import java.net.URISyntaxException;
@ -29,8 +26,6 @@ import java.util.Arrays;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import net.minidev.json.JSONObject;
import org.junit.Before; import org.junit.Before;
import org.junit.Test; import org.junit.Test;
import org.mitre.jwt.signer.service.impl.DefaultJwtSigningAndValidationService; import org.mitre.jwt.signer.service.impl.DefaultJwtSigningAndValidationService;
@ -41,20 +36,20 @@ import org.springframework.security.authentication.AuthenticationServiceExceptio
import org.springframework.web.util.UriComponents; import org.springframework.web.util.UriComponents;
import org.springframework.web.util.UriComponentsBuilder; import org.springframework.web.util.UriComponentsBuilder;
import com.google.common.base.Joiner;
import com.google.common.collect.Maps; import com.google.common.collect.Maps;
import com.google.common.collect.Sets; import com.google.common.collect.Sets;
import com.nimbusds.jose.Algorithm; import com.nimbusds.jose.Algorithm;
import com.nimbusds.jose.JWSObject;
import com.nimbusds.jose.jwk.JWK; import com.nimbusds.jose.jwk.JWK;
import com.nimbusds.jose.jwk.RSAKey; import com.nimbusds.jose.jwk.RSAKey;
import com.nimbusds.jose.jwk.Use; import com.nimbusds.jose.jwk.Use;
import com.nimbusds.jose.util.Base64URL; import com.nimbusds.jose.util.Base64URL;
import com.nimbusds.jose.util.JSONObjectUtils;
import com.nimbusds.jwt.JWTClaimsSet;
import com.nimbusds.jwt.ReadOnlyJWTClaimsSet; import com.nimbusds.jwt.ReadOnlyJWTClaimsSet;
import com.nimbusds.jwt.SignedJWT; import com.nimbusds.jwt.SignedJWT;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
/** /**
* @author wkim * @author wkim
* *

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue; package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -34,6 +29,12 @@ import org.mockito.Mock;
import org.mockito.Mockito; import org.mockito.Mockito;
import org.mockito.runners.MockitoJUnitRunner; import org.mockito.runners.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
/** /**
* @author wkim * @author wkim
* *

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,13 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue; package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -32,6 +27,12 @@ import org.mitre.openid.connect.config.ServerConfiguration;
import org.mockito.Mock; import org.mockito.Mock;
import org.mockito.runners.MockitoJUnitRunner; import org.mockito.runners.MockitoJUnitRunner;
import static org.hamcrest.CoreMatchers.is;
import static org.hamcrest.CoreMatchers.notNullValue;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
/** /**
* @author wkim * @author wkim
* *

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,11 +13,9 @@
* See the License for the specific language governing permissions and * See the License for the specific language governing permissions and
* limitations under the License. * limitations under the License.
******************************************************************************/ ******************************************************************************/
package org.mitre.openid.connect.client.service.impl;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.nullValue; package org.mitre.openid.connect.client.service.impl;
import static org.junit.Assert.*;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
@ -30,6 +27,10 @@ import org.springframework.security.authentication.AuthenticationServiceExceptio
import com.google.common.collect.Sets; import com.google.common.collect.Sets;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.CoreMatchers.nullValue;
import static org.junit.Assert.assertThat;
/** /**
* @author wkim * @author wkim
* *

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -18,6 +17,7 @@ package org.mitre.discovery.util;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import org.slf4j.Logger; import org.slf4j.Logger;
import org.slf4j.LoggerFactory; import org.slf4j.LoggerFactory;
import org.springframework.util.StringUtils; import org.springframework.util.StringUtils;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,3 +1,18 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -29,7 +28,6 @@ import org.mitre.oauth2.model.ClientDetailsEntity;
import org.mitre.oauth2.model.ClientDetailsEntity.AppType; import org.mitre.oauth2.model.ClientDetailsEntity.AppType;
import org.mitre.oauth2.model.ClientDetailsEntity.AuthMethod; import org.mitre.oauth2.model.ClientDetailsEntity.AuthMethod;
import org.mitre.oauth2.model.ClientDetailsEntity.SubjectType; import org.mitre.oauth2.model.ClientDetailsEntity.SubjectType;
import org.mitre.oauth2.model.OAuth2AccessTokenEntity;
import org.mitre.oauth2.model.RegisteredClient; import org.mitre.oauth2.model.RegisteredClient;
import com.google.common.base.Joiner; import com.google.common.base.Joiner;

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.

View File

@ -1,6 +1,5 @@
/******************************************************************************* /*******************************************************************************
* Copyright 2013 The MITRE Corporation * Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
* and the MIT Kerberos and Internet Trust Consortium
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -16,15 +15,12 @@
******************************************************************************/ ******************************************************************************/
package org.mitre.discovery.util; package org.mitre.discovery.util;
import static org.junit.Assert.*;
import java.util.List;
import org.junit.Test; import org.junit.Test;
import org.springframework.web.util.UriComponents; import org.springframework.web.util.UriComponents;
import com.google.common.collect.ImmutableMap; import com.google.common.collect.ImmutableMap;
import com.google.common.collect.Lists;
import static org.junit.Assert.assertEquals;
/** /**
* @author wkim * @author wkim

View File

@ -1,3 +1,18 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */
@ -9,7 +24,7 @@ import com.nimbusds.jose.EncryptionMethod;
import com.nimbusds.jose.JWEAlgorithm; import com.nimbusds.jose.JWEAlgorithm;
import com.nimbusds.jose.JWSAlgorithm; import com.nimbusds.jose.JWSAlgorithm;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
/** /**
* *

View File

@ -1,3 +1,18 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */
@ -13,7 +28,7 @@ import com.google.common.collect.ImmutableSet;
import com.nimbusds.jose.EncryptionMethod; import com.nimbusds.jose.EncryptionMethod;
import com.nimbusds.jose.JWEAlgorithm; import com.nimbusds.jose.JWEAlgorithm;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
/** /**
* @author jricher * @author jricher

View File

@ -1,3 +1,18 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */
@ -13,7 +28,7 @@ import com.google.common.collect.ImmutableSet;
import com.nimbusds.jose.EncryptionMethod; import com.nimbusds.jose.EncryptionMethod;
import com.nimbusds.jose.JWEAlgorithm; import com.nimbusds.jose.JWEAlgorithm;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
/** /**
* @author jricher * @author jricher

View File

@ -1,3 +1,18 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */
@ -17,7 +32,8 @@ import com.google.gson.JsonObject;
import com.nimbusds.jose.EncryptionMethod; import com.nimbusds.jose.EncryptionMethod;
import com.nimbusds.jose.JWEAlgorithm; import com.nimbusds.jose.JWEAlgorithm;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
/** /**
* @author jricher * @author jricher

View File

@ -1,3 +1,18 @@
/*******************************************************************************
* Copyright 2013 The MITRE Corporation and the MIT Kerberos and Internet Trust Consortuim
*
* 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.
******************************************************************************/
/** /**
* *
*/ */
@ -5,7 +20,7 @@ package org.mitre.openid.connect.config;
import org.junit.Test; import org.junit.Test;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
/** /**
* @author jricher * @author jricher

Some files were not shown because too many files have changed in this diff Show More