AppsFormBasedDetails.java 3.0 KB
Newer Older
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/*
 * Copyright [2020] [MaxKey of copyright http://www.maxkey.top]
 * 
 * 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.
 */
 

MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
18 19
package org.maxkey.domain.apps;

MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
20 21 22 23 24
import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
25 26 27 28 29

/**
 * @author Crystal.Sea
 *
 */
MaxKey单点登录官方's avatar
MXK  
MaxKey单点登录官方 已提交
30
@Table(name = "MXK_APPS_FORM_BASED_DETAILS")  
MaxKey单点登录官方's avatar
m-11/6  
MaxKey单点登录官方 已提交
31
public class AppsFormBasedDetails  extends Apps {
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
32 33 34 35
	/**
	 * 
	 */
	private static final long serialVersionUID = 563313247706861431L;
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
36 37 38 39
	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.AUTO,generator="uuid")
	protected String id;
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
40
	
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
41
	@Column
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
42
	private String redirectUri;
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
43
	@Column
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
44
	private String usernameMapping;
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
45
	@Column
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
46
	private String passwordMapping;
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
47
	@Column
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
48 49 50 51 52 53
	private String authorizeView;


	/**
	 * 
	 */
MaxKey单点登录官方's avatar
m-11/6  
MaxKey单点登录官方 已提交
54
	public AppsFormBasedDetails() {
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
		
	}


	/**
	 * @return the redirectUri
	 */
	public String getRedirectUri() {
		return redirectUri;
	}


	/**
	 * @param redirectUri the redirectUri to set
	 */
	public void setRedirectUri(String redirectUri) {
		this.redirectUri = redirectUri;
	}


	/**
	 * @return the usernameMapping
	 */
	public String getUsernameMapping() {
		return usernameMapping;
	}

	/**
	 * @param usernameMapping the usernameMapping to set
	 */
	public void setUsernameMapping(String usernameMapping) {
		this.usernameMapping = usernameMapping;
	}

	/**
	 * @return the passwordMapping
	 */
	public String getPasswordMapping() {
		return passwordMapping;
	}

	/**
	 * @param passwordMapping the passwordMapping to set
	 */
	public void setPasswordMapping(String passwordMapping) {
		this.passwordMapping = passwordMapping;
	}


	public String getAuthorizeView() {
		return authorizeView;
	}


	public void setAuthorizeView(String authorizeView) {
		this.authorizeView = authorizeView;
	}


MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
114 115 116 117 118 119 120 121 122 123
	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
124
	@Override
MaxKey单点登录官方's avatar
MaxKey单点登录官方 已提交
125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("AppsFormBasedDetails [id=");
        builder.append(id);
        builder.append(", redirectUri=");
        builder.append(redirectUri);
        builder.append(", usernameMapping=");
        builder.append(usernameMapping);
        builder.append(", passwordMapping=");
        builder.append(passwordMapping);
        builder.append(", authorizeView=");
        builder.append(authorizeView);
        builder.append("]");
        return builder.toString();
    }
MaxKey单点登录官方's avatar
init  
MaxKey单点登录官方 已提交
140 141

}