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

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

      
    
Rootfs path

      
    
Size
1987 (1.9 KB)
MD5
0a2ae3dc48f19c59966ec96813667fa2
SHA1
1b28adc121c9f2b29983af9277b62246bfb128ac
SHA256
d86d006af5e7ede03b77fd7ee299ac96f63909f858ccab236ad3ebbd0b23702f
SHA512

      
    
SHA1_git
ea85ee824c3d4a2568b81ce174838f03cb64333f
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Role.java | 1.9 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; import java.security.Principal; /** * <p> * Abstract representation of a security role, suitable for use in environments like JAAS that want to deal with * <code>Principals</code>. * </p> * * @since 4.1 */ public interface Role extends Principal { // ------------------------------------------------------------- Properties /** * @return the description of this role. */ String getDescription(); /** * Set the description of this role. * * @param description The new description */ void setDescription(String description); /** * @return the role name of this role, which must be unique within the scope of a {@link UserDatabase}. */ String getRolename(); /** * Set the role name of this role, which must be unique within the scope of a {@link UserDatabase}. * * @param rolename The new role name */ void setRolename(String rolename); /** * @return the {@link UserDatabase} within which this Role is defined. */ UserDatabase getUserDatabase(); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
50.21
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