ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/users/AbstractUser.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/users/AbstractUser.java
Status
scanned
Type
file
Name
AbstractUser.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
2390 (2.3 KB)
MD5
674c9e1f579c5fca29c5cfb594cb87ae
SHA1
ae6f79ddff69522f0b5465f2d6601646ec68c7bb
SHA256
10271eddb3d2ae5cb9697f45d88f0718ea73f96d30117bf988a8b8020799301c
SHA512

      
    
SHA1_git
4ef7d2c670a7a0851ea237474337f09fcba50ef8
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
AbstractUser.java | 2.3 KB |

/* * 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.catalina.users; import org.apache.catalina.User; /** * <p> * Convenience base class for {@link User} implementations. * </p> * * @since 4.1 */ public abstract class AbstractUser implements User { // ----------------------------------------------------- Instance Variables /** * The full name of this user. */ protected String fullName = null; /** * The logon password of this user. */ protected String password = null; /** * The logon username of this user. */ protected String username = null; // ------------------------------------------------------------- Properties @Override public String getFullName() { return this.fullName; } @Override public void setFullName(String fullName) { this.fullName = fullName; } @Override public String getPassword() { return this.password; } @Override public void setPassword(String password) { this.password = password; } @Override public String getUsername() { return this.username; } @Override public void setUsername(String username) { this.username = username; } // ------------------------------------------------------ Principal Methods /** * Make the principal name the same as the group name. */ @Override public String getName() { return getUsername(); } }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
49.17
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9