Repository: cxf Updated Branches: refs/heads/master 30e4e725a -> 774347c5d
[CXF-5669] Adding the missing file Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/774347c5 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/774347c5 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/774347c5 Branch: refs/heads/master Commit: 774347c5d970314130c82fb0707dc53871c1562a Parents: 30e4e72 Author: Sergey Beryozkin <[email protected]> Authored: Wed Aug 20 14:18:20 2014 +0100 Committer: Sergey Beryozkin <[email protected]> Committed: Wed Aug 20 14:18:20 2014 +0100 ---------------------------------------------------------------------- .../provider/ClientRegistrationProvider.java | 30 ++++++++++++++++++++ 1 file changed, 30 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/774347c5/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java new file mode 100644 index 0000000..d1010b9 --- /dev/null +++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/ClientRegistrationProvider.java @@ -0,0 +1,30 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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.apache.cxf.rs.security.oauth2.provider; + +import java.util.List; + +import org.apache.cxf.rs.security.oauth2.common.Client; + +public interface ClientRegistrationProvider { + Client getClient(String clientId); + void setClient(Client client); + Client removeClient(String clientId); + List<Client> getClients(); +}
