Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlas
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dataplatform
atlas
Commits
b82f8f92
Commit
b82f8f92
authored
9 years ago
by
arpitgupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG-36908: Add license to files
parent
a98af5ec
master
No related merge requests found
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
4 deletions
+36
-4
AtlasAuthenticationToken.java
...e/atlas/regression/security/AtlasAuthenticationToken.java
+17
-0
KerberosHelper.java
.../org/apache/atlas/regression/security/KerberosHelper.java
+18
-2
BaseTest.java
...test/java/org/apache/atlas/regression/tests/BaseTest.java
+1
-2
No files found.
regression/src/test/java/org/apache/atlas/regression/security/AtlasAuthenticationToken.java
View file @
b82f8f92
/**
* 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
.
atlas
.
regression
.
security
;
package
org
.
apache
.
atlas
.
regression
.
security
;
import
org.apache.atlas.regression.request.BaseRequest
;
import
org.apache.atlas.regression.request.BaseRequest
;
...
...
This diff is collapsed.
Click to expand it.
regression/src/test/java/org/apache/atlas/regression/security/KerberosHelper.java
View file @
b82f8f92
/**
* 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
.
atlas
.
regression
.
security
;
package
org
.
apache
.
atlas
.
regression
.
security
;
import
org.apache.hadoop.security.UserGroupInformation
;
import
org.apache.hadoop.security.UserGroupInformation
;
...
@@ -49,4 +66,4 @@ public class KerberosHelper {
...
@@ -49,4 +66,4 @@ public class KerberosHelper {
Assert
.
assertTrue
(
keyTabMap
.
containsKey
(
user
),
"Unknown user: "
+
user
);
Assert
.
assertTrue
(
keyTabMap
.
containsKey
(
user
),
"Unknown user: "
+
user
);
return
keyTabMap
.
get
(
user
);
return
keyTabMap
.
get
(
user
);
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
regression/src/test/java/org/apache/atlas/regression/tests/BaseTest.java
View file @
b82f8f92
...
@@ -30,4 +30,4 @@ public class BaseTest {
...
@@ -30,4 +30,4 @@ public class BaseTest {
public
void
beforeClass
()
{
public
void
beforeClass
()
{
SOFT_ASSERT
=
new
SoftAssert
();
SOFT_ASSERT
=
new
SoftAssert
();
}
}
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment